|
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 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
weblogic.management.deploy.DeploymentData
Deprecated. since WLS 9.0 . Use WebLogicDeploymentManager
public class DeploymentData
Describes the targets involved in an application deployment and other deployment options. DeploymentData objects are used when invoking deployments via the DeployerRuntimeMBean
methods.
Field Summary | |
---|---|
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 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 |
Method Summary | |
---|---|
void |
addGlobalTarget(String targetName) Deprecated. |
void |
addModuleTarget(String moduleName, String newtarget) Deprecated. |
void |
addModuleTargets(String moduleName, String[] newtargets) Deprecated. |
void |
addModuleToTarget(String target, String module) Deprecated. Since 9.0. Use DeploymentData.addModuleTargets(java.lang.String, java.lang.String[]) |
void |
addOrUpdateSubModuleTargets(Map givenSMTs) Deprecated. |
void |
addOrUpdateSubModuleTargetsFor(String moduleName, Map submodules) Deprecated. |
void |
addSubModuleTarget(String moduleName, String subModuleName, String[] newtargets) Deprecated. Adds a target list specific to a submodule in a given module. |
void |
addTarget(String target, String[] modules) Deprecated. Since 9.0. Use DeploymentData.addTarget(java.lang.String, java.lang.String[]) , DeploymentData.setGlobalTargets(java.lang.String[]) or DeploymentData.addModuleTargets(java.lang.String, java.lang.String[]) |
void |
addTargetsForComponent(ApplicationMBean mbean, String compName) Deprecated. Since 9.0. Use DeploymentData.addModuleTargets(java.lang.String, java.lang.String[]) |
void |
addTargetsFromConfig(BasicDeploymentMBean dmb) Deprecated. |
Map |
getAllModuleTargets() Deprecated. |
Map |
getAllSubModuleTargets() Deprecated. |
String |
getAltDescriptorPath() Deprecated. |
String |
getAltWLSDescriptorPath() Deprecated. |
boolean |
getClusterConstraints() Deprecated. |
String |
getConfigDirectory() Deprecated. |
boolean |
getDelete() Deprecated. |
DeploymentOptions |
getDeploymentOptions() Deprecated. |
String |
getDeploymentPlan() Deprecated. |
String |
getDeploymentPrincipalName() Deprecated. |
String[] |
getFiles() Deprecated. Returns the files specific to this deployment |
String[] |
getGlobalTargets() Deprecated. Returns a list of targets which apply to the whole deployable unit. |
String[] |
getModules() Deprecated. Since 9.0. |
String[] |
getModulesForTarget(String target) Deprecated. Since 9.0 |
String[] |
getModuleTargets(String moduleName) Deprecated. Returns module specific targets for a given module. |
String |
getRootDirectory() Deprecated. |
String |
getSecurityModel() Deprecated. |
Map |
getSubModuleTargets(String moduleName) Deprecated. |
String[] |
getTargets() Deprecated. since 9.0 use DeploymentData.getGlobalTargets() , DeploymentData.getModuleTargets(java.lang.String) , or DeploymentData.getSubModuleTargets(java.lang.String) |
Set |
getTargetsForModule(String module) Deprecated. Since 9.0. |
int |
getTargetType(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(String targetname) Deprecated. |
boolean |
hasModuleTargets() Deprecated. |
boolean |
hasSubModuleTargets() Deprecated. |
boolean |
hasTargets() Deprecated. |
boolean |
isLibrary() Deprecated. |
boolean |
isSecurityValidationEnabled() Deprecated. |
boolean |
isStandaloneModule() Deprecated. |
boolean |
removeSubModuleTarget(String mod, String sub, String target) Deprecated. |
void |
setAltDescriptorPath(String dd) Deprecated. |
void |
setAltWLSDescriptorPath(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(String config) Deprecated. |
void |
setDelete(boolean deleteFlag) Deprecated. |
void |
setDeploymentOptions(DeploymentOptions opts) Deprecated. |
void |
setDeploymentPlan(String plan) Deprecated. |
void |
setDeploymentPrincipalName(String principal) Deprecated. |
void |
setFile(String[] files) Deprecated. Indicates whether to add or remove files from the application's staging area. |
void |
setGlobalTargets(String[] targetNames) Deprecated. |
void |
setLibrary(boolean isLibrary) Deprecated. |
void |
setPlanUpdate(boolean b) Deprecated. |
void |
setRootDirectory(String dir) Deprecated. |
void |
setSecurityModel(String model) Deprecated. |
void |
setSecurityValidationEnabled(boolean enable) Deprecated. |
void |
setTargetType(String target, int type) Deprecated. Specifies the type of target involved. |
void |
setTimeOut(int timeInMillis) Deprecated. Overrides deployment timeout value. |
String |
toString() Deprecated. Constructs a String representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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 String STANDALONE_MODULE
Method Detail |
---|
public void setPlanUpdate(boolean b)
public boolean hasTargets()
public String[] getGlobalTargets()
public boolean hasGlobalTarget(String targetname)
public void addGlobalTarget(String targetName)
public void setGlobalTargets(String[] targetNames)
public Map getAllModuleTargets()
Map
. Key = module name. Value = String[] of target names.public boolean hasModuleTargets()
public String[] getModuleTargets(String moduleName)
public void addModuleTarget(String moduleName, String newtarget)
public void addModuleTargets(String moduleName, String[] newtargets)
public boolean isStandaloneModule()
public void addSubModuleTarget(String moduleName, String subModuleName, String[] newtargets) throws 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.IllegalArgumentException
- When target list is empty or module names are specified in some targets and nto in others.public void addOrUpdateSubModuleTargetsFor(String moduleName, Map submodules)
public void addOrUpdateSubModuleTargets(Map givenSMTs)
public Map getSubModuleTargets(String moduleName)
Map
where Key = submodule name & Value = String[] containing target names.public Map getAllSubModuleTargets()
public boolean hasSubModuleTargets()
public void addTargetsFromConfig(BasicDeploymentMBean dmb)
public String getSecurityModel()
public void setSecurityModel(String model) throws IllegalArgumentException
IllegalArgumentException
public boolean isSecurityValidationEnabled()
public void setSecurityValidationEnabled(boolean enable)
public boolean isLibrary()
public void setLibrary(boolean isLibrary)
public void setFile(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 DeploymentData.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)
DeploymentData.getTimeOut()
public void setAltDescriptorPath(String dd)
public String getAltDescriptorPath()
public void setAltWLSDescriptorPath(String dd)
public String getAltWLSDescriptorPath()
public void setDeploymentPrincipalName(String principal)
public String getDeploymentPrincipalName()
public String[] getFiles()
public boolean hasFiles()
public int getTargetType(String target)
target
- is the name of the target being checked.public void setTargetType(String target, int type)
target
- is the name of the target being updated.type
- the type of the target.public String toString()
toString
in class Object
public String getDeploymentPlan()
public void setDeploymentPlan(String plan)
public String getConfigDirectory()
public void setConfigDirectory(String config)
public String getRootDirectory()
public void setRootDirectory(String dir)
public DeploymentOptions getDeploymentOptions()
public void setDeploymentOptions(DeploymentOptions opts)
public String[] getTargets()
DeploymentData.getGlobalTargets()
, DeploymentData.getModuleTargets(java.lang.String)
, or DeploymentData.getSubModuleTargets(java.lang.String)
public void addTarget(String target, String[] modules)
DeploymentData.addTarget(java.lang.String, java.lang.String[])
, DeploymentData.setGlobalTargets(java.lang.String[])
or DeploymentData.addModuleTargets(java.lang.String, java.lang.String[])
Modules may also be added using the DeploymentData.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.public String[] getModulesForTarget(String target)
public void addModuleToTarget(String target, String module)
DeploymentData.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.public void addTargetsForComponent(ApplicationMBean mbean, String compName) throws IllegalArgumentException
DeploymentData.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 objectIllegalArgumentException
public Set getTargetsForModule(String module)
public String[] getModules()
public boolean removeSubModuleTarget(String mod, String sub, String target)
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |