public class BeanDeploymentModule extends Object
Constructor and Description |
---|
BeanDeploymentModule(String moduleId,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
Collection<BeanDeploymentArchiveImpl> beanDeploymentArchives) |
Modifier and Type | Method and Description |
---|---|
void |
addBeanDeploymentArchive(BeanDeploymentArchiveImpl archive)
Makes the
BeanDeploymentArchiveImpl accessible to all bdas in the module |
void |
addBeanDeploymentModule(BeanDeploymentModule module)
Makes all
BeanDeploymentArchiveImpl s in the given module accessible to all bdas in this module |
void |
addBeanDeploymentModules(Collection<BeanDeploymentModule> modules)
Makes all
BeanDeploymentArchiveImpl s in the given modules accessible to all bdas in this module |
<S extends org.jboss.weld.bootstrap.api.Service> |
addService(Class<S> clazz,
S service)
Adds a service to all bean deployment archives in the module
|
Set<BeanDeploymentArchiveImpl> |
getBeanDeploymentArchives() |
org.jboss.weld.bootstrap.spi.EEModuleDescriptor |
getModuleDescriptor() |
public BeanDeploymentModule(String moduleId, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, Collection<BeanDeploymentArchiveImpl> beanDeploymentArchives)
public void addBeanDeploymentArchive(BeanDeploymentArchiveImpl archive)
BeanDeploymentArchiveImpl
accessible to all bdas in the modulearchive
- The archive to make accessiblepublic void addBeanDeploymentModule(BeanDeploymentModule module)
BeanDeploymentArchiveImpl
s in the given module accessible to all bdas in this modulemodule
- The module to make accessiblepublic void addBeanDeploymentModules(Collection<BeanDeploymentModule> modules)
BeanDeploymentArchiveImpl
s in the given modules accessible to all bdas in this modulemodules
- The modules to make accessiblepublic <S extends org.jboss.weld.bootstrap.api.Service> void addService(Class<S> clazz, S service)
S
- The service typeclazz
- The service typeservice
- The servicepublic Set<BeanDeploymentArchiveImpl> getBeanDeploymentArchives()
public org.jboss.weld.bootstrap.spi.EEModuleDescriptor getModuleDescriptor()
Copyright © 2021 JBoss by Red Hat. All rights reserved.