# DeploymentPlanBean

Overview | Related MBeans | Attributes | Operations

## Overview

An XML deployment-planType(@http://www.bea.com/ns/weblogic/90). This is a complex type.

Fully Qualified Interface Name | If you use the `getMBeanInfo` operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name: `weblogic.j2ee.descriptor.wl.DeploymentPlanBean`
Factory Methods | No factory methods. Instances of this MBean are created automatically.

## Related MBeans

This section describes attributes that provide access to other MBeans. For more information about the MBean hierarchy, refer to WebLogic Server MBean Data Model.

ModuleOverrides VariableDefinition |

### ModuleOverrides

Gets array of all "module-override" elements

Factory Methods | `createModuleOverride ( )` `destroyModuleOverride (ModuleOverrideBean )` Factory methods do not return objects. See Using factory methods.
Privileges | Read only
Type | ModuleOverrideBean[]
Relationship type: | Containment.

### VariableDefinition

Gets the "variable-definition" element

Factory Methods | No explicit creator method. The child shares the lifecycle of its parent.
Privileges | Read only
Type | VariableDefinitionBean
Relationship type: | Containment.

## Attributes

This section describes the following attributes:

ApplicationName ConfigRoot Description | GlobalVariables Version

### ApplicationName

Gets the "application-name" element

Privileges | Read/Write
Type | java.lang.String

### ConfigRoot

Gets the "install-root" element

Privileges | Read/Write
Type | java.lang.String

### Description

Gets the "description" element

Privileges | Read/Write
Type | java.lang.String

### GlobalVariables

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.

Privileges | Read/Write
Type | boolean

### Version

Gets the "version" element

Privileges | Read/Write
Type | java.lang.String

## Operations

This section describes the following operations:

assignVariable findModuleDescriptor findModuleOverride findOrCreateVariable findRootModule findVariable | findVariableAssignments hasVariable rootModule valueOf

### assignVariable

Create new variable assignment from existing variable.

Operation Name | `"assignVariable"`
Parameters | `Object [] { var, desc, bean, prop }` where: `var` is an object of type `weblogic.j2ee.descriptor.wl.VariableBean` that specifies: var `desc` is an object of type `weblogic.j2ee.descriptor.wl.ModuleDescriptorBean` that specifies: desc `bean` is an object of type `weblogic.descriptor.DescriptorBean` that specifies: bean `prop` is an object of type `java.lang.String` that specifies: prop
Signature | `String [] { "weblogic.j2ee.descriptor.wl.VariableBean", "weblogic.j2ee.descriptor.wl.ModuleDescriptorBean", "weblogic.descriptor.DescriptorBean", "java.lang.String" }`
Returns | `VariableAssignmentBean`

### findModuleDescriptor

Get descriptor for module in plan.

Operation Name | `"findModuleDescriptor"`
Parameters | `Object [] { }` where:
Signature | `String [] { "java.lang.String", "java.lang.String" }`
Returns | `ModuleDescriptorBean`

### findModuleOverride

Get descriptor overrides for any module in plan.

Operation Name | `"findModuleOverride"`
Parameters | `Object [] { }` where:
Signature | `String [] { "java.lang.String" }`
Returns | `ModuleOverrideBean`

### findOrCreateVariable

Operation Name | `"findOrCreateVariable"`
Parameters | `Object [] { desc, bean, prop }` where: `desc` is an object of type `weblogic.j2ee.descriptor.wl.ModuleDescriptorBean` that specifies: desc `bean` is an object of type `weblogic.descriptor.DescriptorBean` that specifies: bean `prop` is an object of type `java.lang.String` that specifies: prop
Signature | `String [] { "weblogic.j2ee.descriptor.wl.ModuleDescriptorBean", "weblogic.descriptor.DescriptorBean", "java.lang.String" }`
Returns | `VariableBean`
Exceptions | `java.lang.IllegalArgumentException` IllegalArgumentException if the property is transient

### findRootModule

A plan can have at most one ModuleOverride that represents the root module of the application.

Operation Name | `"findRootModule"`
Parameters | `null`
Signature | `null`
Returns | `ModuleOverrideBean`

### findVariable

Operation Name | `"findVariable"`
Parameters | `Object [] { desc, bean, prop }` where: `desc` is an object of type `weblogic.j2ee.descriptor.wl.ModuleDescriptorBean` that specifies: desc `bean` is an object of type `weblogic.descriptor.DescriptorBean` that specifies: bean `prop` is an object of type `java.lang.String` that specifies: prop
Signature | `String [] { "weblogic.j2ee.descriptor.wl.ModuleDescriptorBean", "weblogic.descriptor.DescriptorBean", "java.lang.String" }`
Returns | `VariableBean`
Exceptions | `java.lang.IllegalArgumentException`

### findVariableAssignments

Operation Name | `"findVariableAssignments"`
Parameters | `Object [] { var }` where: `var` is an object of type `weblogic.j2ee.descriptor.wl.VariableBean` that specifies: var
Signature | `String [] { "weblogic.j2ee.descriptor.wl.VariableBean" }`
Returns | `class`

### hasVariable

Operation Name | `"hasVariable"`
Parameters | `Object [] { desc, bean, prop }` where: `desc` is an object of type `weblogic.j2ee.descriptor.wl.ModuleDescriptorBean` that specifies: desc `bean` is an object of type `weblogic.descriptor.DescriptorBean` that specifies: bean `prop` is an object of type `java.lang.String` that specifies: prop
Signature | `String [] { "weblogic.j2ee.descriptor.wl.ModuleDescriptorBean", "weblogic.descriptor.DescriptorBean", "java.lang.String" }`
Returns | `boolean`
Exceptions | `java.lang.IllegalArgumentException`

### rootModule

Operation Name | `"rootModule"`
Parameters | `Object [] { moduleName }` where: `moduleName` is an object of type `java.lang.String` that specifies: moduleName
Signature | `String [] { "java.lang.String" }`
Returns | `boolean`

### valueOf

Operation Name | `"valueOf"`
Parameters | `Object [] { var }` where: `var` is an object of type `weblogic.j2ee.descriptor.wl.VariableBean` that specifies: var
Signature | `String [] { "weblogic.j2ee.descriptor.wl.VariableBean" }`
Returns | `Object`