Class ForwardingInstanceManager
- java.lang.Object
-
- org.jboss.weld.environment.tomcat.ForwardingInstanceManager
-
- All Implemented Interfaces:
org.apache.tomcat.InstanceManager
- Direct Known Subclasses:
WeldForwardingInstanceManager
public abstract class ForwardingInstanceManager extends Object implements org.apache.tomcat.InstanceManager
-
-
Constructor Summary
Constructors Constructor Description ForwardingInstanceManager()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.apache.tomcat.InstanceManagerdelegate()voiddestroyInstance(Object o)ObjectnewInstance(Class<?> clazz)voidnewInstance(Object o)ObjectnewInstance(String fqcn)ObjectnewInstance(String fqcn, ClassLoader classLoader)
-
-
-
Method Detail
-
delegate
protected abstract org.apache.tomcat.InstanceManager delegate()
-
destroyInstance
public void destroyInstance(Object o) throws IllegalAccessException, InvocationTargetException
- Specified by:
destroyInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetException
-
newInstance
public void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException
- Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingException
-
newInstance
public Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, NoSuchMethodException
- Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionClassNotFoundExceptionNoSuchMethodException
-
newInstance
public Object newInstance(String fqcn) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, NoSuchMethodException
- Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionClassNotFoundExceptionNoSuchMethodException
-
newInstance
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, NoSuchMethodException
- Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionNoSuchMethodException
-
-