Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01

weblogic.deploy.api.spi
Interface WebLogicDeploymentConfiguration

All Superinterfaces:
Closable, DeploymentConfiguration

public interface WebLogicDeploymentConfiguration
extends DeploymentConfiguration, Closable

This interface provides WebLogic Server extensions to DeploymentConfiguration. WebLogicDeploymentConfiguration represents the overall WebLogic Server-specific configuration for a standalone module or Enterprise Application.


Field Summary
static String DEFAULT_APPNAME
          The default name for an application.
 
Method Summary
 void close()
          Closes all resources and invalidates this configuration.
 void export(int type)
          Create new plan using variables for properties in all descriptors.
 void export(int type, boolean standard)
          Create new plan using variables for properties in all descriptors.
 void export(int type, boolean standard, String module_uri)
          Create new plan using variables for properties in all descriptors.
 String getModuleName(DDBeanRoot ddr)
          Returns the configured name of module.
 DeploymentPlanBean getPlan()
          Returns the bean tree for the current deployment plan.
 
Methods inherited from interface javax.enterprise.deploy.spi.DeploymentConfiguration
getDConfigBeanRoot, getDeployableObject, removeDConfigBean, restore, restoreDConfigBean, save, saveDConfigBean
 

Field Detail

DEFAULT_APPNAME

static final String DEFAULT_APPNAME
The default name for an application.

See Also:
Constant Field Values
Method Detail

getPlan

DeploymentPlanBean getPlan()
Returns the bean tree for the current deployment plan.


getModuleName

String getModuleName(DDBeanRoot ddr)
Returns the configured name of module.

Parameters:
ddr - The root element of the standard deployment descriptor for the module.

export

void export(int type)
            throws IllegalArgumentException
Create new plan using variables for properties in all descriptors. Exporting a plan involves ensuring that a subset of descriptor properties have variable assignments (value overrides) and that the override value is unspecified. Export does not save the new plan. ANY means that all properties are included.

Parameters:
type - is one of PlanConstants.DEPENDENCY, PlanConstants.DECLARATION, PlanConstants.CONFIGURABLE, PlanConstants.CHANGABLE or PlanConstants.DYNAMIC or PlanConstants.ANY
Throws:
IllegalArgumentException

export

void export(int type,
            boolean standard)
            throws IllegalArgumentException
Create new plan using variables for properties in all descriptors. Exporting a plan involves ensuring that a subset of descriptor properties have variable assignments (value overrides) and that the override value is unspecified. Export does not save the new plan. ANY means that all properties are included.

Parameters:
type - is one of PlanConstants.DEPENDENCY, PlanConstants.DECLARATION, PlanConstants.CONFIGURABLE, PlanConstants.CHANGABLE or PlanConstants.DYNAMIC or PlanConstants.ANY
standard - Causes standard descriptors to be included
Throws:
IllegalArgumentException

export

void export(int type,
            boolean standard,
            String module_uri)
            throws IllegalArgumentException
Create new plan using variables for properties in all descriptors. Exporting a plan involves ensuring that a subset of descriptor properties have variable assignments (value overrides) and that the override value is unspecified. Export does not save the new plan. ANY means that all properties are included.

Parameters:
type - is one of PlanConstants.DEPENDENCY, PlanConstants.DECLARATION, PlanConstants.CONFIGURABLE, PlanConstants.CHANGABLE or PlanConstants.DYNAMIC or PlanConstants.ANY
standard - Causes standard descriptors to be included
module_uri - Causes only exports for the module
Throws:
IllegalArgumentException

close

void close()
Closes all resources and invalidates this configuration. Further access to this object will have indeterminate results.

Specified by:
close in interface Closable

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01