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
ConstructorsModifierConstructorDescriptionprotectedWeldInstanceManager(org.jboss.weld.manager.api.WeldManager manager) -
Method Summary
Modifier and TypeMethodDescriptionvoidnewInstance(Class<?> clazz) voidnewInstance(String fqcn) newInstance(String fqcn, ClassLoader classLoader) Methods inherited from class org.jboss.weld.environment.servlet.inject.AbstractInjector
destroy, injectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tomcat.InstanceManager
backgroundProcess
-
Constructor Details
-
WeldInstanceManager
protected WeldInstanceManager(org.jboss.weld.manager.api.WeldManager manager)
-
-
Method Details
-
destroyInstance
- 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
-