org.apache.openejb
Class AppContext

java.lang.Object
  extended by org.apache.openejb.DeploymentContext
      extended by org.apache.openejb.AppContext

public class AppContext
extends DeploymentContext

Version:
$Rev$ $Date$

Constructor Summary
AppContext(String id, SystemInstance systemInstance, ClassLoader classLoader, Context globalJndiContext, Context appJndiContext, boolean standaloneModule)
           
 
Method Summary
 Context getAppJndiContext()
           
 AsynchronousPool getAsynchronousPool()
           
 List<BeanContext> getBeanContexts()
           
 javax.enterprise.inject.spi.BeanManager getBeanManager()
           
 Map<String,Object> getBindings()
           
 ClassLoader getClassLoader()
           
 List<BeanContext> getDeployments()
          Deprecated. 
 Context getGlobalJndiContext()
           
 String getId()
           
 Collection<Injection> getInjections()
           
 SystemInstance getSystemInstance()
           
 org.apache.webbeans.config.WebBeansContext getWebBeansContext()
           
 List<WebContext> getWebContexts()
           
 boolean isCdiEnabled()
           
 boolean isStandaloneModule()
           
 void setCdiEnabled(boolean cdiEnabled)
           
 void setWebBeansContext(org.apache.webbeans.config.WebBeansContext webBeansContext)
           
 
Methods inherited from class org.apache.openejb.DeploymentContext
get, getOptions, getProperties, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppContext

public AppContext(String id,
                  SystemInstance systemInstance,
                  ClassLoader classLoader,
                  Context globalJndiContext,
                  Context appJndiContext,
                  boolean standaloneModule)
Method Detail

getInjections

public Collection<Injection> getInjections()

getBindings

public Map<String,Object> getBindings()

getBeanManager

public javax.enterprise.inject.spi.BeanManager getBeanManager()

getWebBeansContext

public org.apache.webbeans.config.WebBeansContext getWebBeansContext()

setWebBeansContext

public void setWebBeansContext(org.apache.webbeans.config.WebBeansContext webBeansContext)

getWebContexts

public List<WebContext> getWebContexts()

isCdiEnabled

public boolean isCdiEnabled()

setCdiEnabled

public void setCdiEnabled(boolean cdiEnabled)

getId

public String getId()
Overrides:
getId in class DeploymentContext

getClassLoader

public ClassLoader getClassLoader()

getDeployments

@Deprecated
public List<BeanContext> getDeployments()
Deprecated. 


getBeanContexts

public List<BeanContext> getBeanContexts()

getSystemInstance

public SystemInstance getSystemInstance()

getAppJndiContext

public Context getAppJndiContext()

getGlobalJndiContext

public Context getGlobalJndiContext()

isStandaloneModule

public boolean isStandaloneModule()

getAsynchronousPool

public AsynchronousPool getAsynchronousPool()


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.