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
public class CachingWebInjectionContainer extends AbstractWebInjectionContainer
AWebInjectionContainerthat cachesManagedReferenceinstances betweennewInstance(Object)anddestroyInstance(Object).- Author:
- Emanuel Muckenhuber, Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CachingWebInjectionContainer(ClassLoader loader, ComponentRegistry componentRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroyInstance(Object instance)ObjectnewInstance(Class<?> clazz)voidnewInstance(Object instance)-
Methods inherited from class org.jboss.as.web.common.AbstractWebInjectionContainer
getComponentRegistry, newInstance
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.web.common.WebInjectionContainer
newInstance
-
-
-
-
Constructor Detail
-
CachingWebInjectionContainer
public CachingWebInjectionContainer(ClassLoader loader, ComponentRegistry componentRegistry)
-
-
Method Detail
-
destroyInstance
public void destroyInstance(Object instance)
-
newInstance
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, InstantiationException
-
newInstance
public void newInstance(Object instance)
-
-