|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.Container
public class Container
A Weld application container
| Constructor Summary | |
|---|---|
Container(BeanManagerImpl deploymentManager,
org.jboss.weld.bootstrap.api.ServiceRegistry deploymentServices)
|
|
| Method Summary | |
|---|---|
BeanManagerImpl |
activityManager(java.lang.String key)
Get the activity manager for a given key |
java.lang.String |
addActivity(BeanManagerImpl manager)
Add an activity |
java.util.Map<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive,BeanManagerImpl> |
beanDeploymentArchives()
|
void |
cleanup()
Cause the container to be cleaned up, including all registered bean managers, and all deployment services |
BeanManagerImpl |
deploymentManager()
Gets the manager for this application deployment |
org.jboss.weld.bootstrap.api.ServiceRegistry |
deploymentServices()
Get the services for this application deployment |
static void |
initialize(BeanManagerImpl deploymentManager,
org.jboss.weld.bootstrap.api.ServiceRegistry deploymentServices)
Initialize the container for the current application deployment |
static Container |
instance()
Get the container for the current application deployment |
boolean |
isInitialized()
Check if the application container is fully initialized |
void |
putBeanDeployments(java.util.Map<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive,BeanDeployment> beanDeployments)
Add sub-deployment units to the container |
void |
setInitialized(boolean initialized)
Put the application container into an initialized state |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Container(BeanManagerImpl deploymentManager,
org.jboss.weld.bootstrap.api.ServiceRegistry deploymentServices)
| Method Detail |
|---|
public static Container instance()
public static void initialize(BeanManagerImpl deploymentManager,
org.jboss.weld.bootstrap.api.ServiceRegistry deploymentServices)
deploymentManager - deploymentServices - public void cleanup()
public BeanManagerImpl deploymentManager()
public java.util.Map<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive,BeanManagerImpl> beanDeploymentArchives()
public BeanManagerImpl activityManager(java.lang.String key)
key -
public java.lang.String addActivity(BeanManagerImpl manager)
manager -
public org.jboss.weld.bootstrap.api.ServiceRegistry deploymentServices()
public void putBeanDeployments(java.util.Map<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive,BeanDeployment> beanDeployments)
beanDeployments - public boolean isInitialized()
public void setInitialized(boolean initialized)
initialized - the initialized to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||