org.apache.openejb
Class AppContext
java.lang.Object
org.apache.openejb.DeploymentContext
org.apache.openejb.AppContext
public class AppContext
- extends DeploymentContext
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppContext
public AppContext(String id,
SystemInstance systemInstance,
ClassLoader classLoader,
Context globalJndiContext,
Context appJndiContext,
boolean standaloneModule)
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()
submitTask
public Future<Object> submitTask(Callable<Object> callable)
- Asynchronous Invocation Thread Pool Methods
removeTask
public boolean removeTask(Runnable task)
Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.