org.jboss.weld.environment.tomcat7
Class WeldForwardingInstanceManager
java.lang.Object
org.jboss.weld.environment.tomcat7.ForwardingInstanceManager
org.jboss.weld.environment.tomcat7.WeldForwardingInstanceManager
- All Implemented Interfaces:
- org.apache.tomcat.InstanceManager
public class WeldForwardingInstanceManager
- extends ForwardingInstanceManager
Forwards all calls in turn to two delegates: first to InstanceManager, then
to WeldInstanceManager
- Author:
- Matija Mazi
Constructor Summary |
WeldForwardingInstanceManager(org.apache.tomcat.InstanceManager originalAnnotationProcessor,
org.apache.tomcat.InstanceManager weldProcessor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeldForwardingInstanceManager
public WeldForwardingInstanceManager(org.apache.tomcat.InstanceManager originalAnnotationProcessor,
org.apache.tomcat.InstanceManager weldProcessor)
delegate
protected org.apache.tomcat.InstanceManager delegate()
- Specified by:
delegate
in class ForwardingInstanceManager
destroyInstance
public void destroyInstance(Object o)
throws IllegalAccessException,
InvocationTargetException
- Specified by:
destroyInstance
in interface org.apache.tomcat.InstanceManager
- Overrides:
destroyInstance
in class ForwardingInstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
newInstance
public void newInstance(Object o)
throws IllegalAccessException,
InvocationTargetException,
NamingException
- Specified by:
newInstance
in interface org.apache.tomcat.InstanceManager
- Overrides:
newInstance
in class ForwardingInstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
newInstance
public Object newInstance(String fqcn,
ClassLoader classLoader)
throws IllegalAccessException,
InvocationTargetException,
NamingException,
InstantiationException,
ClassNotFoundException
- Specified by:
newInstance
in interface org.apache.tomcat.InstanceManager
- Overrides:
newInstance
in class ForwardingInstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
ClassNotFoundException
newInstance
public Object newInstance(String fqcn)
throws IllegalAccessException,
InvocationTargetException,
NamingException,
InstantiationException,
ClassNotFoundException
- Specified by:
newInstance
in interface org.apache.tomcat.InstanceManager
- Overrides:
newInstance
in class ForwardingInstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
ClassNotFoundException
replacInstanceManager
public static void replacInstanceManager(javax.servlet.ServletContextEvent sce,
org.jboss.weld.manager.api.WeldManager manager)
restoreInstanceManager
public static void restoreInstanceManager(javax.servlet.ServletContextEvent sce)
Copyright © 2013 Seam Framework. All Rights Reserved.