java.io.Serializable
@Deprecated
public class DeploymentData
extends java.lang.Object
implements java.io.Serializable
WebLogicDeploymentManager
DeployerRuntimeMBean
methods.Modifier and Type | Field | Description |
---|---|---|
static int |
CLUSTER |
Deprecated.
Target is a Cluster
|
static int |
JMSSERVER |
Deprecated.
Target is a JMS Server
|
static int |
SAFAGENT |
Deprecated.
Target is a SAF agent
|
static int |
SERVER |
Deprecated.
Target is a Server
|
static java.lang.String |
STANDALONE_MODULE |
Deprecated.
|
static int |
UNKNOWN |
Deprecated.
Target type is unknown either because it has not been
set or is not available.
|
static int |
VIRTUALHOST |
Deprecated.
Target is a Virtual Host
|
static int |
VIRTUALTARGET |
Deprecated.
Target is a Virtual Target
|
Modifier and Type | Method | Description |
---|---|---|
void |
addGlobalTarget(java.lang.String targetName) |
Deprecated.
|
void |
addModuleTarget(java.lang.String moduleName,
java.lang.String newtarget) |
Deprecated.
|
void |
addModuleTargets(java.lang.String moduleName,
java.lang.String[] newtargets) |
Deprecated.
|
void |
addModuleToTarget(java.lang.String target,
java.lang.String module) |
Deprecated.
Since 9.0.
|
void |
addOrUpdateSubModuleTargets(java.util.Map givenSMTs) |
Deprecated.
|
void |
addOrUpdateSubModuleTargetsFor(java.lang.String moduleName,
java.util.Map submodules) |
Deprecated.
|
void |
addSubModuleTarget(java.lang.String moduleName,
java.lang.String subModuleName,
java.lang.String[] newtargets) |
Deprecated.
Adds a target list specific to a submodule in a given module.
|
void |
addTarget(java.lang.String target,
java.lang.String[] modules) |
Deprecated.
Since 9.0.
|
void |
addTargetsForComponent(ApplicationMBean mbean,
java.lang.String compName) |
Deprecated.
Since 9.0.
|
void |
addTargetsFromConfig(BasicDeploymentMBean dmb) |
Deprecated.
|
java.util.Map |
getAllModuleTargets() |
Deprecated.
|
java.util.Map |
getAllSubModuleTargets() |
Deprecated.
|
java.lang.String |
getAltDescriptorPath() |
Deprecated.
|
java.lang.String |
getAltWLSDescriptorPath() |
Deprecated.
|
boolean |
getClusterConstraints() |
Deprecated.
|
java.lang.String |
getConfigDirectory() |
Deprecated.
|
boolean |
getDelete() |
Deprecated.
|
DeploymentOptions |
getDeploymentOptions() |
Deprecated.
|
java.lang.String |
getDeploymentPlan() |
Deprecated.
|
java.lang.String |
getDeploymentPrincipalName() |
Deprecated.
|
java.lang.String[] |
getFiles() |
Deprecated.
Returns the files specific to this deployment
|
java.lang.String[] |
getGlobalTargets() |
Deprecated.
Returns a list of targets which apply to the whole deployable unit.
|
java.lang.String[] |
getModules() |
Deprecated.
Since 9.0.
|
java.lang.String[] |
getModulesForTarget(java.lang.String target) |
Deprecated.
Since 9.0
|
java.lang.String[] |
getModuleTargets(java.lang.String moduleName) |
Deprecated.
Returns module specific targets for a given module.
|
java.lang.String |
getRootDirectory() |
Deprecated.
|
java.lang.String |
getSecurityModel() |
Deprecated.
|
java.util.Map |
getSubModuleTargets(java.lang.String moduleName) |
Deprecated.
|
java.lang.String[] |
getTargets() |
Deprecated.
|
java.util.Set |
getTargetsForModule(java.lang.String module) |
Deprecated.
Since 9.0.
|
int |
getTargetType(java.lang.String target) |
Deprecated.
Specifies the type of target involved.
|
int |
getTimeOut() |
Deprecated.
Timeout value (in milliseconds) used for 2 phase deployments.
|
boolean |
hasFiles() |
Deprecated.
|
boolean |
hasGlobalTarget(java.lang.String targetname) |
Deprecated.
|
boolean |
hasModuleTargets() |
Deprecated.
|
boolean |
hasSubModuleTargets() |
Deprecated.
|
boolean |
hasTargets() |
Deprecated.
|
boolean |
isLibrary() |
Deprecated.
|
boolean |
isSecurityValidationEnabled() |
Deprecated.
|
boolean |
isStandaloneModule() |
Deprecated.
|
boolean |
removeSubModuleTarget(java.lang.String mod,
java.lang.String sub,
java.lang.String target) |
Deprecated.
|
void |
setAltDescriptorPath(java.lang.String dd) |
Deprecated.
|
void |
setAltWLSDescriptorPath(java.lang.String dd) |
Deprecated.
|
void |
setClusterConstraints(boolean clusterConstraints) |
Deprecated.
Sets the attribute indicating if strict cluster constraints need to be
enforced on clustered deployments.
|
void |
setConfigDirectory(java.lang.String config) |
Deprecated.
|
void |
setDelete(boolean deleteFlag) |
Deprecated.
|
void |
setDeploymentOptions(DeploymentOptions opts) |
Deprecated.
|
void |
setDeploymentPlan(java.lang.String plan) |
Deprecated.
|
void |
setDeploymentPrincipalName(java.lang.String principal) |
Deprecated.
|
void |
setFile(java.lang.String[] files) |
Deprecated.
Indicates whether to add or remove files from the application's staging area.
|
void |
setGlobalTargets(java.lang.String[] targetNames) |
Deprecated.
|
void |
setLibrary(boolean isLibrary) |
Deprecated.
|
void |
setPlanUpdate(boolean b) |
Deprecated.
|
void |
setRootDirectory(java.lang.String dir) |
Deprecated.
|
void |
setSecurityModel(java.lang.String model) |
Deprecated.
|
void |
setSecurityValidationEnabled(boolean enable) |
Deprecated.
|
void |
setTargetType(java.lang.String target,
int type) |
Deprecated.
Specifies the type of target involved.
|
void |
setTimeOut(int timeInMillis) |
Deprecated.
Overrides deployment timeout value.
|
java.lang.String |
toString() |
Deprecated.
Constructs a String representation of the object.
|
public static final int UNKNOWN
public static final int CLUSTER
public static final int SERVER
public static final int VIRTUALHOST
public static final int JMSSERVER
public static final int SAFAGENT
public static final int VIRTUALTARGET
public static final java.lang.String STANDALONE_MODULE
public void setPlanUpdate(boolean b)
public boolean hasTargets()
public java.lang.String[] getGlobalTargets()
public boolean hasGlobalTarget(java.lang.String targetname)
public void addGlobalTarget(java.lang.String targetName)
public void setGlobalTargets(java.lang.String[] targetNames)
public java.util.Map getAllModuleTargets()
Map
. Key = module name. Value = String[] of target names.public boolean hasModuleTargets()
public java.lang.String[] getModuleTargets(java.lang.String moduleName)
public void addModuleTarget(java.lang.String moduleName, java.lang.String newtarget)
public void addModuleTargets(java.lang.String moduleName, java.lang.String[] newtargets)
public boolean isStandaloneModule()
public void addSubModuleTarget(java.lang.String moduleName, java.lang.String subModuleName, java.lang.String[] newtargets) throws java.lang.IllegalArgumentException
subModuleName
- Required. Must be non-null.moduleName
- If this is null, it is assumed that there is only one
module in this deployable unit, the deployable unit itself.
And all submodules are part of it. Hence, either all submoduletargets
should have a module name or none.java.lang.IllegalArgumentException
- When target list is empty or module
names are specified in some targets and nto in others.public void addOrUpdateSubModuleTargetsFor(java.lang.String moduleName, java.util.Map submodules)
public void addOrUpdateSubModuleTargets(java.util.Map givenSMTs)
public java.util.Map getSubModuleTargets(java.lang.String moduleName)
Map
where Key = submodule name & Value =
String[] containing target names.public java.util.Map getAllSubModuleTargets()
public boolean hasSubModuleTargets()
public void addTargetsFromConfig(BasicDeploymentMBean dmb)
public java.lang.String getSecurityModel()
public void setSecurityModel(java.lang.String model) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public boolean isSecurityValidationEnabled()
public void setSecurityValidationEnabled(boolean enable)
public boolean isLibrary()
public void setLibrary(boolean isLibrary)
public void setFile(java.lang.String[] files)
public void setDelete(boolean deleteFlag)
public boolean getDelete()
public void setClusterConstraints(boolean clusterConstraints)
public boolean getClusterConstraints()
public int getTimeOut()
ApplicationMBean.DEPLOYMENT_TIMEOUT
, but can be overriden with setTimeOut(int)
method.
Deployment tasks that remain running for more than this time are automatically cancelled, with their state
becoming failed. For cluster deployments, this will result in a rollback of the
entire deployment.public void setTimeOut(int timeInMillis)
getTimeOut()
public void setAltDescriptorPath(java.lang.String dd)
public java.lang.String getAltDescriptorPath()
public void setAltWLSDescriptorPath(java.lang.String dd)
public java.lang.String getAltWLSDescriptorPath()
public void setDeploymentPrincipalName(java.lang.String principal)
public java.lang.String getDeploymentPrincipalName()
public java.lang.String[] getFiles()
public boolean hasFiles()
public int getTargetType(java.lang.String target)
target
- is the name of the target being checked.public void setTargetType(java.lang.String target, int type)
target
- is the name of the target being updated.type
- the type of the target.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDeploymentPlan()
public void setDeploymentPlan(java.lang.String plan)
public java.lang.String getConfigDirectory()
public void setConfigDirectory(java.lang.String config)
public java.lang.String getRootDirectory()
public void setRootDirectory(java.lang.String dir)
public DeploymentOptions getDeploymentOptions()
public void setDeploymentOptions(DeploymentOptions opts)
@Deprecated public java.lang.String[] getTargets()
@Deprecated public void addTarget(java.lang.String target, java.lang.String[] modules)
Modules may also be added using the addModuleToTarget(java.lang.String, java.lang.String)
method.
target
- is the name of a server, cluster,virtual host or virtual target. Virtual hosts or virtual targets are only valid
for web deployments.modules
- is an optional list of module names which are specifically targeted to the named target. A null value
indicates all modules. An empty array implies no modules.@Deprecated public java.lang.String[] getModulesForTarget(java.lang.String target)
@Deprecated public void addModuleToTarget(java.lang.String target, java.lang.String module)
addModuleTargets(java.lang.String, java.lang.String[])
target
- is the server, cluster, web server, virtual host or virtual target to receive the module.module
- is the name of the module to be deployed to this target.@Deprecated public void addTargetsForComponent(ApplicationMBean mbean, java.lang.String compName) throws java.lang.IllegalArgumentException
addModuleTargets(java.lang.String, java.lang.String[])
mbean
- is the application mbean containing the componentcompName
- is the component whose targets will be added to this objectjava.lang.IllegalArgumentException
@Deprecated public java.util.Set getTargetsForModule(java.lang.String module)
@Deprecated public java.lang.String[] getModules()
public boolean removeSubModuleTarget(java.lang.String mod, java.lang.String sub, java.lang.String target)