public class Container extends Object
Constructor and Description |
---|
Container(BeanManagerImpl deploymentManager,
org.jboss.weld.bootstrap.api.ServiceRegistry deploymentServices) |
Modifier and Type | Method and Description |
---|---|
BeanManagerImpl |
activityManager(String key)
Get the activity manager for a given key
|
String |
addActivity(BeanManagerImpl manager)
Add an activity
|
static boolean |
available() |
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
|
ContainerState |
getState() |
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
|
void |
putBeanDeployments(Map<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive,BeanDeployment> beanDeployments)
Add sub-deployment units to the container
|
org.jboss.weld.bootstrap.api.ServiceRegistry |
services()
Get the services for this application deployment
|
void |
setState(ContainerState state) |
public Container(BeanManagerImpl deploymentManager, org.jboss.weld.bootstrap.api.ServiceRegistry deploymentServices)
public static Container instance()
public static boolean available()
public static void initialize(BeanManagerImpl deploymentManager, org.jboss.weld.bootstrap.api.ServiceRegistry deploymentServices)
deploymentManager
- deploymentServices
- public void cleanup()
public BeanManagerImpl deploymentManager()
public Map<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive,BeanManagerImpl> beanDeploymentArchives()
public BeanManagerImpl activityManager(String key)
key
- public String addActivity(BeanManagerImpl manager)
manager
- public org.jboss.weld.bootstrap.api.ServiceRegistry services()
public void putBeanDeployments(Map<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive,BeanDeployment> beanDeployments)
beanDeployments
- public ContainerState getState()
public void setState(ContainerState state)
Copyright © 2013 Seam Framework. All Rights Reserved.