Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.j2ee.descriptor.wl
Interface DeploymentPlanBean


public interface DeploymentPlanBean

An XML deployment-planType(@http://xmlns.oracle.com/weblogic/deployment-plan). This is a complex type.


Method Summary
abstract  VariableAssignmentBean assignVariable(VariableBean var, ModuleDescriptorBean desc, DescriptorBean bean, String prop)
          Create new variable assignment from existing variable.
abstract  ModuleOverrideBean createModuleOverride()
           
abstract  void destroyModuleOverride(ModuleOverrideBean moduleOverride)
           
abstract  ModuleDescriptorBean findModuleDescriptor(String name, String uri)
          Get descriptor for module in plan.
abstract  ModuleOverrideBean findModuleOverride(String name)
          Get descriptor overrides for any module in plan.
abstract  VariableBean findOrCreateVariable(ModuleDescriptorBean desc, DescriptorBean bean, String prop)
           
abstract  VariableBean findOrCreateVariable(ModuleDescriptorBean desc, DescriptorBean bean, String prop, boolean planBased)
           
abstract  VariableBean findOrCreateVariable(ModuleDescriptorBean desc, DescriptorBean bean, String prop, boolean planBased, Object oldKeyValue)
           
abstract  ModuleOverrideBean findRootModule()
          A plan can have at most one ModuleOverride that represents the root module of the application.
abstract  VariableBean findVariable(ModuleDescriptorBean desc, DescriptorBean bean, String prop)
           
abstract  VariableAssignmentBean findVariableAssignment(ModuleDescriptorBean desc, DescriptorBean bean, String prop)
           
abstract  VariableAssignmentBean[] findVariableAssignments(VariableBean var)
           
abstract  String getApplicationName()
          Gets the "application-name" element
abstract  String getConfigRoot()
          Gets the "install-root" element
abstract  String getDescription()
          Gets the "description" element
abstract  ModuleOverrideBean[] getModuleOverrides()
          Gets array of all "module-override" elements
abstract  VariableDefinitionBean getVariableDefinition()
          Gets the "variable-definition" element
abstract  String getVersion()
          Gets the "version" element
abstract  boolean hasVariable(ModuleDescriptorBean desc, DescriptorBean bean, String prop)
           
abstract  boolean isGlobalVariables()
          Global variable names are of the form BeanName_[KeyValue_]PropertyName.
abstract  boolean isRemovable(DescriptorBean bean)
           
abstract  boolean rootModule(String moduleName)
           
abstract  void setApplicationName(String applicationName)
          Sets the "application-name" element
abstract  void setConfigRoot(String configRoot)
          Sets the "config-root" element
abstract  void setDescription(String description)
          Sets the "description" element
abstract  void setGlobalVariables(boolean global)
           
abstract  void setVersion(String version)
          Sets the "version" element
abstract  Object valueOf(VariableBean var)
           

 

Method Detail

getDescription

String getDescription()
Gets the "description" element

setDescription

void setDescription(String description)
Sets the "description" element
Parameters:
description -

getApplicationName

String getApplicationName()
Gets the "application-name" element

setApplicationName

void setApplicationName(String applicationName)
Sets the "application-name" element
Parameters:
applicationName -

getVersion

String getVersion()
Gets the "version" element

setVersion

void setVersion(String version)
Sets the "version" element
Parameters:
version -

getVariableDefinition

VariableDefinitionBean getVariableDefinition()
Gets the "variable-definition" element

getModuleOverrides

ModuleOverrideBean[] getModuleOverrides()
Gets array of all "module-override" elements

createModuleOverride

ModuleOverrideBean createModuleOverride()

destroyModuleOverride

void destroyModuleOverride(ModuleOverrideBean moduleOverride)

findModuleOverride

ModuleOverrideBean findModuleOverride(String name)
Get descriptor overrides for any module in plan.

findModuleDescriptor

ModuleDescriptorBean findModuleDescriptor(String name,
                                          String uri)
Get descriptor for module in plan.

getConfigRoot

String getConfigRoot()
Gets the "install-root" element

setConfigRoot

void setConfigRoot(String configRoot)
Sets the "config-root" element
Parameters:
configRoot -

rootModule

boolean rootModule(String moduleName)
Parameters:
moduleName -
Returns:
whether a module is the root module of the application.

hasVariable

boolean hasVariable(ModuleDescriptorBean desc,
                    DescriptorBean bean,
                    String prop)
                    throws IllegalArgumentException
Parameters:
desc -
bean -
prop -
Returns:
indicates if a variable assignment exists for the property
Throws:
IllegalArgumentException

findVariable

VariableBean findVariable(ModuleDescriptorBean desc,
                          DescriptorBean bean,
                          String prop)
                          throws IllegalArgumentException
Parameters:
desc -
bean -
prop -
Returns:
VariableBean associated with a descriptor property or null if none.
Throws:
IllegalArgumentException

findOrCreateVariable

VariableBean findOrCreateVariable(ModuleDescriptorBean desc,
                                  DescriptorBean bean,
                                  String prop,
                                  boolean planBased)
                                  throws IllegalArgumentException
Parameters:
desc -
bean -
prop -
planBased -
Returns:
VariableBean associated with a descriptor property. Creates a variable assignment if necessary
Throws:
IllegalArgumentException - if the property is transient

findOrCreateVariable

VariableBean findOrCreateVariable(ModuleDescriptorBean desc,
                                  DescriptorBean bean,
                                  String prop)
                                  throws IllegalArgumentException
Parameters:
desc -
bean -
prop -
Returns:
VariableBean associated with a descriptor property. Creates a variable assignment if necessary
Throws:
IllegalArgumentException - if the property is transient

findOrCreateVariable

VariableBean findOrCreateVariable(ModuleDescriptorBean desc,
                                  DescriptorBean bean,
                                  String prop,
                                  boolean planBased,
                                  Object oldKeyValue)
                                  throws IllegalArgumentException
Parameters:
desc -
bean -
prop -
planBased -
oldKeyValue -
Returns:
VariableBean associated with a descriptor property. Creates a variable assignment if necessary
Throws:
IllegalArgumentException - if the property is transient

findVariableAssignments

VariableAssignmentBean[] findVariableAssignments(VariableBean var)
Parameters:
var -
Returns:
VariableAssignmentBean object using this variable

findVariableAssignment

VariableAssignmentBean findVariableAssignment(ModuleDescriptorBean desc,
                                              DescriptorBean bean,
                                              String prop)
                                              throws IllegalArgumentException
Parameters:
desc -
bean -
prop -
Returns:
VariableAssignmentBean associated with a descriptor property or null if none.
Throws:
IllegalArgumentException - if the desc is null

valueOf

Object valueOf(VariableBean var)
Parameters:
var -
Returns:
typed object representing variable's value.

assignVariable

VariableAssignmentBean assignVariable(VariableBean var,
                                      ModuleDescriptorBean desc,
                                      DescriptorBean bean,
                                      String prop)
Create new variable assignment from existing variable.
Parameters:
var -
desc -
bean -
prop -

isGlobalVariables

boolean isGlobalVariables()
Global variable names are of the form BeanName_[KeyValue_]PropertyName. If false then the name is appended with a unique number. Global variables are useful for most descriptors since this allows a single variable value to affect all like references to it.
Returns:
whether to use global variable naming.

setGlobalVariables

void setGlobalVariables(boolean global)

findRootModule

ModuleOverrideBean findRootModule()
A plan can have at most one ModuleOverride that represents the root module of the application.
Returns:
root ModuleOverrideBean or null if none found

isRemovable

boolean isRemovable(DescriptorBean bean)
                    throws IllegalArgumentException
Parameters:
bean -
Returns:
indicates if a descriptor bean can be removed from the plan
Throws:
IllegalArgumentException

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09