use of org.glassfish.deployapi.config.SunDeploymentConfiguration in project Payara by payara.
the class SunDeploymentManager method createConfiguration.
/**
* Retrieve the object that provides server-specific deployment
* configuration information for the J2EE deployable component.
*
* @param dObj An object representing a J2EE deployable component.
* @throws InvalidModuleException The DeployableObject is an
* unknown or unsupport component for this
* configuration tool.
*/
public DeploymentConfiguration createConfiguration(DeployableObject dObj) throws InvalidModuleException {
try {
SunDeploymentConfiguration deploymentConfiguration = new SunDeploymentConfiguration(dObj);
deploymentConfiguration.setDeploymentManager(this);
return deploymentConfiguration;
} catch (ConfigurationException e) {
InvalidModuleException ime = new InvalidModuleException(e.getMessage());
ime.initCause(e);
throw ime;
}
}
Aggregations