org.apache.webbeans.config
Class WebBeansContext
java.lang.Object
org.apache.webbeans.config.WebBeansContext
public class WebBeansContext
- extends Object
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebBeansContext
public WebBeansContext()
WebBeansContext
public WebBeansContext(Map<Class<?>,Object> initialServices,
Properties properties)
getInstance
@Deprecated
public static WebBeansContext getInstance()
- Deprecated.
currentInstance
public static WebBeansContext currentInstance()
- Method to be used when static use is truely unavoidable, such as serialization
Ideally this method would never lazily create a WebBeansContext and as we don't
want to do any deployment of new apps during deserialization, we want to rehydrate
objects from an existing WebBeansContext which should be the active context.
This method could throw a runtime exception if no instance currently exists.
- Returns:
getService
public <T> T getService(Class<T> clazz)
registerService
public <T> void registerService(Class<T> clazz,
T t)
getManagedBeanConfigurator
public ManagedBeanConfigurator getManagedBeanConfigurator()
getInterceptorUtil
public InterceptorUtil getInterceptorUtil()
getDefinitionUtil
public DefinitionUtil getDefinitionUtil()
getAnnotatedTypeUtil
public WebBeansAnnotatedTypeUtil getAnnotatedTypeUtil()
getInjectionPointFactory
public InjectionPointFactory getInjectionPointFactory()
getResolutionUtil
public ResolutionUtil getResolutionUtil()
getWebBeansUtil
public WebBeansUtil getWebBeansUtil()
getContextFactory
public ContextFactory getContextFactory()
getAnnotationManager
public AnnotationManager getAnnotationManager()
getConversationManager
public ConversationManager getConversationManager()
getOpenWebBeansConfiguration
public OpenWebBeansConfiguration getOpenWebBeansConfiguration()
getAnnotatedElementFactory
public AnnotatedElementFactory getAnnotatedElementFactory()
getBeanManagerImpl
public BeanManagerImpl getBeanManagerImpl()
getSerializableBeanVault
public SerializableBeanVault getSerializableBeanVault()
getCreationalContextFactory
public CreationalContextFactory getCreationalContextFactory()
getDecoratorsManager
public DecoratorsManager getDecoratorsManager()
getWebBeansInterceptorConfig
public WebBeansInterceptorConfig getWebBeansInterceptorConfig()
getEJBInterceptorConfig
public EJBInterceptorConfig getEJBInterceptorConfig()
getStereoTypeManager
public StereoTypeManager getStereoTypeManager()
getAlternativesManager
public AlternativesManager getAlternativesManager()
getInterceptorsManager
public InterceptorsManager getInterceptorsManager()
getjMSManager
public JMSManager getjMSManager()
getPluginLoader
public PluginLoader getPluginLoader()
getExtensionLoader
public ExtensionLoader getExtensionLoader()
getJavassistProxyFactory
public JavassistProxyFactory getJavassistProxyFactory()
getScannerService
public ScannerService getScannerService()
getContextsService
public ContextsService getContextsService()
getSecurityService
public SecurityService getSecurityService()
get
public <T> T get(Class<T> clazz)
clear
public void clear()
getLoaderService
public LoaderService getLoaderService()
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.