org.apache.webbeans.config
Class WebBeansContext

java.lang.Object
  extended by org.apache.webbeans.config.WebBeansContext

public class WebBeansContext
extends Object

Version:
$Rev$ $Date$

Constructor Summary
WebBeansContext()
           
WebBeansContext(Map<Class<?>,Object> initialServices, Properties properties)
           
 
Method Summary
 void clear()
           
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.
<T> T
get(Class<T> clazz)
           
 AlternativesManager getAlternativesManager()
           
 AnnotatedElementFactory getAnnotatedElementFactory()
           
 WebBeansAnnotatedTypeUtil getAnnotatedTypeUtil()
           
 AnnotationManager getAnnotationManager()
           
 BeanManagerImpl getBeanManagerImpl()
           
 ContextFactory getContextFactory()
           
 ContextsService getContextsService()
           
 ConversationManager getConversationManager()
           
 CreationalContextFactory getCreationalContextFactory()
           
 DecoratorsManager getDecoratorsManager()
           
 DefinitionUtil getDefinitionUtil()
           
 EJBInterceptorConfig getEJBInterceptorConfig()
           
 ExtensionLoader getExtensionLoader()
           
 InjectionPointFactory getInjectionPointFactory()
           
static WebBeansContext getInstance()
          Deprecated. 
 InterceptorsManager getInterceptorsManager()
           
 InterceptorUtil getInterceptorUtil()
           
 JavassistProxyFactory getJavassistProxyFactory()
           
 JMSManager getjMSManager()
           
 LoaderService getLoaderService()
           
 ManagedBeanConfigurator getManagedBeanConfigurator()
           
 OpenWebBeansConfiguration getOpenWebBeansConfiguration()
           
 PluginLoader getPluginLoader()
           
 ResolutionUtil getResolutionUtil()
           
 ScannerService getScannerService()
           
 SecurityService getSecurityService()
           
 SerializableBeanVault getSerializableBeanVault()
           
<T> T
getService(Class<T> clazz)
           
 StereoTypeManager getStereoTypeManager()
           
 WebBeansInterceptorConfig getWebBeansInterceptorConfig()
           
 WebBeansUtil getWebBeansUtil()
           
<T> void
registerService(Class<T> clazz, T t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebBeansContext

public WebBeansContext()

WebBeansContext

public WebBeansContext(Map<Class<?>,Object> initialServices,
                       Properties properties)
Method Detail

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.