org.ow2.jonas.cdi.weld.internal.deployment
Class DefaultDeploymentBuilder

java.lang.Object
  extended by org.ow2.jonas.cdi.weld.internal.deployment.DefaultDeploymentBuilder
All Implemented Interfaces:
IDeploymentBuilder

public class DefaultDeploymentBuilder
extends Object
implements IDeploymentBuilder

A DefaultDeploymentBuilder is in charge of the Deployment instance construction from a given IArchive.

Author:
Guillaume Sauthier

Field Summary
static String METAINF_BEANS_XML
          Location (in jars) of the beans.xml marker file.
static String WEBINF_BEANS_XML
          Location (in web application) of the beans.xml marker file.
 
Constructor Summary
DefaultDeploymentBuilder()
           
 
Method Summary
 org.jboss.weld.bootstrap.spi.Deployment buildWebDeployment(org.ow2.util.archive.api.IArchive archive)
          Build a Web related Deployment archive.
 void setArchiveManager(org.ow2.util.archive.api.IArchiveManager manager)
          Bind the archive manager.
 void setWeldService(IWeldService weld)
          Bind the Weld utility service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBINF_BEANS_XML

public static final String WEBINF_BEANS_XML
Location (in web application) of the beans.xml marker file.

See Also:
Constant Field Values

METAINF_BEANS_XML

public static final String METAINF_BEANS_XML
Location (in jars) of the beans.xml marker file.

See Also:
Constant Field Values
Constructor Detail

DefaultDeploymentBuilder

public DefaultDeploymentBuilder()
Method Detail

setArchiveManager

public void setArchiveManager(org.ow2.util.archive.api.IArchiveManager manager)
Bind the archive manager.


setWeldService

public void setWeldService(IWeldService weld)
Bind the Weld utility service


buildWebDeployment

public org.jboss.weld.bootstrap.spi.Deployment buildWebDeployment(org.ow2.util.archive.api.IArchive archive)
Build a Web related Deployment archive.

Specified by:
buildWebDeployment in interface IDeploymentBuilder
Parameters:
archive - a web archive
Returns:
a Weld configured Deployment instance.


Copyright © 2010 OW2 Consortium. All Rights Reserved.