public class WeldForwardingInstanceManager extends ForwardingInstanceManager
Constructor and Description |
---|
WeldForwardingInstanceManager(org.apache.tomcat.InstanceManager originalAnnotationProcessor,
org.apache.tomcat.InstanceManager weldProcessor) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.tomcat.InstanceManager |
delegate() |
void |
destroyInstance(Object o) |
Object |
newInstance(Class<?> clazz) |
void |
newInstance(Object o) |
Object |
newInstance(String fqcn) |
Object |
newInstance(String fqcn,
ClassLoader classLoader) |
static void |
replaceInstanceManager(javax.servlet.ServletContext context,
org.jboss.weld.manager.api.WeldManager manager) |
static void |
restoreInstanceManager(javax.servlet.ServletContext context) |
public WeldForwardingInstanceManager(org.apache.tomcat.InstanceManager originalAnnotationProcessor, org.apache.tomcat.InstanceManager weldProcessor)
protected org.apache.tomcat.InstanceManager delegate()
delegate
in class ForwardingInstanceManager
public void destroyInstance(Object o) throws IllegalAccessException, InvocationTargetException
destroyInstance
in interface org.apache.tomcat.InstanceManager
destroyInstance
in class ForwardingInstanceManager
IllegalAccessException
InvocationTargetException
public void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException
newInstance
in interface org.apache.tomcat.InstanceManager
newInstance
in class ForwardingInstanceManager
IllegalAccessException
InvocationTargetException
NamingException
public Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException
newInstance
in interface org.apache.tomcat.InstanceManager
newInstance
in class ForwardingInstanceManager
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
ClassNotFoundException
public Object newInstance(String fqcn) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException
newInstance
in interface org.apache.tomcat.InstanceManager
newInstance
in class ForwardingInstanceManager
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
ClassNotFoundException
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException
newInstance
in interface org.apache.tomcat.InstanceManager
newInstance
in class ForwardingInstanceManager
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
public static void replaceInstanceManager(javax.servlet.ServletContext context, org.jboss.weld.manager.api.WeldManager manager)
public static void restoreInstanceManager(javax.servlet.ServletContext context)
Copyright © 2016. All rights reserved.