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 protected
WeldInstanceManager(org.jboss.weld.manager.api.WeldManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroyInstance(Object o)
Object
newInstance(Class<?> clazz)
void
newInstance(Object o)
Object
newInstance(String fqcn)
Object
newInstance(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:
destroyInstance
in interfaceorg.apache.tomcat.InstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
-
newInstance
public Object newInstance(String fqcn) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException
- Specified by:
newInstance
in interfaceorg.apache.tomcat.InstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
ClassNotFoundException
-
newInstance
public void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException
- Specified by:
newInstance
in interfaceorg.apache.tomcat.InstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
-
newInstance
public Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException
- Specified by:
newInstance
in interfaceorg.apache.tomcat.InstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
ClassNotFoundException
-
newInstance
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException
- Specified by:
newInstance
in interfaceorg.apache.tomcat.InstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
-
-