|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWeldService
A IWeldService is some kind of utility service that takes care of Weld related
operations.
| Method Summary | |
|---|---|
void |
connectBeanDeploymentArchives(Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> childs,
Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> parents)
Connects all the BDA in the first Collection to each BDA in the second Collection. |
boolean |
isCdiEnabled(org.ow2.util.archive.api.IArchive archive)
Detect if the given IArchive contains a beans.xml. |
org.jboss.weld.bootstrap.api.Bootstrap |
startWeldContainer(org.jboss.weld.bootstrap.spi.Deployment deployment)
Starts a Weld container from a given Weld Deployment. |
| Method Detail |
|---|
boolean isCdiEnabled(org.ow2.util.archive.api.IArchive archive)
IArchive contains a beans.xml.
Checked location includes:
WEB-INF/beans.xmlMETA-INF/beans.xml
archive - explored archive
true if the given archive is CDI enabled, false otherwise.
void connectBeanDeploymentArchives(Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> childs,
Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> parents)
childs - Collection of BDAsparents - Collection of BDAs that will be accessibles from childsorg.jboss.weld.bootstrap.api.Bootstrap startWeldContainer(org.jboss.weld.bootstrap.spi.Deployment deployment)
Deployment.
deployment - Weld deployment interface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||