Class WeldInstanceManager
- java.lang.Object
-
- org.jboss.weld.environment.servlet.inject.AbstractInjector
-
- org.jboss.weld.environment.tomcat.WeldInstanceManager
-
- All Implemented Interfaces:
org.apache.tomcat.InstanceManager
public class WeldInstanceManager extends AbstractInjector implements org.apache.tomcat.InstanceManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWeldInstanceManager(org.jboss.weld.manager.api.WeldManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroyInstance(Object o)ObjectnewInstance(Class<?> clazz)voidnewInstance(Object o)ObjectnewInstance(String fqcn)ObjectnewInstance(String fqcn, ClassLoader classLoader)-
Methods inherited from class org.jboss.weld.environment.servlet.inject.AbstractInjector
destroy, inject
-
-
-
-
Method Detail
-
destroyInstance
public void destroyInstance(Object o) throws IllegalAccessException, InvocationTargetException
- Specified by:
destroyInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetException
-
newInstance
public Object newInstance(String fqcn) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException
- Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionClassNotFoundException
-
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
- Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionClassNotFoundException
-
newInstance
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException
- Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationException
-
-