javax.enterprise.deploy.spi

Interface DConfigBeanRoot

public interface DConfigBeanRoot extends DConfigBean

The DConfigBeanRoot interface represent the root of a deployment descriptor. A DConfigBeanRoot is associated with a DDRoot object which in turn is associated with a specific deployment descriptor file.

Only DConfigBeanRoots are saved or restored by methods in DeploymentConfiguration.

See Also:

Method Summary
DConfigBeangetDConfigBean(DDBeanRoot ddBeanRoot)
Return a DConfigBean for a deployment descriptor that is not the module's primary deployment descriptor.

Method Detail

getDConfigBean

public DConfigBean getDConfigBean(DDBeanRoot ddBeanRoot)
Return a DConfigBean for a deployment descriptor that is not the module's primary deployment descriptor. Web services provides a deployment descriptor in addition to the module's primary deployment descriptor. Only the DDBeanRoot for this category of secondary deployment descriptors are to be passed as arguments through this method. Web service has two deployment descriptor files, one that defines the web service and one that defines a client of a web service. See the Web Service specification for the details.

Parameters: ddBeanRoot represents the root element of a deployment descriptor file.

Returns: a DConfigBean to be used for processing this deployment descriptor data. Null may be returned if no DConfigBean is required for this deployment descriptor.

Since: 1.1