View Javadoc

1   package com.atlassian.plugin.refimpl.servlet;
2   
3   import com.atlassian.plugin.descriptors.servlet.ServletModuleDescriptor;
4   import com.atlassian.plugin.descriptors.servlet.ServletModuleManager;
5   import com.atlassian.plugin.refimpl.ContainerManager;
6   
7   /**
8    * Created by IntelliJ IDEA.
9    * User: mrdon
10   * Date: 06/07/2008
11   * Time: 1:08:58 PM
12   * To change this template use File | Settings | File Templates.
13   */
14  public class SimpleServletModuleDescriptor extends ServletModuleDescriptor {
15      protected void autowireObject(Object o) {
16          throw new UnsupportedOperationException("Only 2.0 plugins are supported");
17      }
18  
19      protected ServletModuleManager getServletModuleManager() {
20          return ContainerManager.getInstance().getServletModuleManager();
21      }
22  }