public class BeanManagerLookupService extends java.lang.Object implements Service
CDI11Deployment
that allows BeanManager
for a given class to be looked up at runtime.Constructor and Description |
---|
BeanManagerLookupService(CDI11Deployment deployment,
java.util.concurrent.ConcurrentMap<BeanDeploymentArchive,BeanManagerImpl> bdaToBeanManagerMap) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
static BeanManagerImpl |
lookupBeanManager(java.lang.Class<?> javaClass,
BeanManagerImpl fallback) |
public BeanManagerLookupService(CDI11Deployment deployment, java.util.concurrent.ConcurrentMap<BeanDeploymentArchive,BeanManagerImpl> bdaToBeanManagerMap)
public static BeanManagerImpl lookupBeanManager(java.lang.Class<?> javaClass, BeanManagerImpl fallback)
Copyright © 2014. All Rights Reserved.