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
9
10
11
12
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 }