Package org.jboss.as.web.common
Class CachingWebInjectionContainer
java.lang.Object
org.jboss.as.web.common.AbstractWebInjectionContainer
org.jboss.as.web.common.CachingWebInjectionContainer
- All Implemented Interfaces:
WebInjectionContainer
A
WebInjectionContainer that caches ManagedReference instances between newInstance(Object) and destroyInstance(Object).- Author:
- Emanuel Muckenhuber, Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCachingWebInjectionContainer(ClassLoader loader, ComponentRegistry componentRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroyInstance(Object instance) newInstance(Class<?> clazz) voidnewInstance(Object instance) Methods inherited from class org.jboss.as.web.common.AbstractWebInjectionContainer
getComponentRegistry, newInstanceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.web.common.WebInjectionContainer
newInstance
-
Constructor Details
-
CachingWebInjectionContainer
-
-
Method Details
-
destroyInstance
-
newInstance
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, InstantiationException -
newInstance
-