|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.management.deploy.DeploymentData
WebLogicDeploymentManager
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 |
Constructor Summary | |
DeploymentData()
Deprecated. Creates empty DeploymentData object, one with no targets defined and no file list. |
|
DeploymentData(String[] files)
Deprecated. Creates DeploymentData object, with no targets defined and a file list. |
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 addModuleTargets(java.lang.String, java.lang.String[]) |
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 addTarget(java.lang.String, java.lang.String[]) , setGlobalTargets(java.lang.String[]) or
addModuleTargets(java.lang.String, java.lang.String[]) |
void |
addTargetsForComponent(weblogic.management.configuration.ApplicationMBean mbean,
String compName)
Deprecated. Since 9.0. Use addModuleTargets(java.lang.String, java.lang.String[]) |
void |
addTargetsFromConfig(weblogic.management.configuration.BasicDeploymentMBean dmb)
Deprecated. Adds targets to this object based on contents of the config bean. |
Map |
getAllModuleTargets()
Deprecated. |
Map |
getAllSubModuleTargets()
Deprecated. |
Set |
getAllTargetedServers(Set logicalTargets,
weblogic.management.configuration.DomainMBean editDomain)
Deprecated. |
String |
getAltDescriptorPath()
Deprecated. |
String |
getAltWLSDescriptorPath()
Deprecated. |
boolean |
getClusterConstraints()
Deprecated. |
String |
getConfigDirectory()
Deprecated. |
boolean |
getDelete()
Deprecated. |
DeploymentOptions |
getDeploymentOptions()
Deprecated. |
String |
getDeploymentPlan()
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 |
getIntendedState()
Deprecated. |
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 getGlobalTargets() , #getModuleTargets
or {@link #getSubModuleTargets} |
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. |
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 |
setFile(String[] files)
Deprecated. Indicates whether to add or remove files from the application's staging area. |
void |
setFileTypes(String rootPath)
Deprecated. |
void |
setGlobalTargets(String[] targetNames)
Deprecated. |
void |
setIntendedState(String state)
Deprecated. Used internally to pass the apps intended state across to target server so it can update itself appropriately |
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 CLUSTER
public static final int JMSSERVER
public static final int SAFAGENT
public static final int SERVER
public static final String STANDALONE_MODULE
public static final int UNKNOWN
public static final int VIRTUALHOST
Constructor Detail |
public DeploymentData()
public DeploymentData(String[] files)
Method Detail |
public void addGlobalTarget(String targetName)
public void addModuleTarget(String moduleName, String newtarget)
public void addModuleTargets(String moduleName, String[] newtargets)
public void addModuleToTarget(String target, String module)
addModuleTargets(java.lang.String, java.lang.String[])
target
- is the server, cluster, web server or virtual host to receive the module.module
- is the name of the module to be deployed to this target.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 addTarget(String target, String[] modules)
addTarget(java.lang.String, java.lang.String[])
, setGlobalTargets(java.lang.String[])
or
addModuleTargets(java.lang.String, java.lang.String[])
Modules may also be added using the addModuleToTarget(java.lang.String, java.lang.String)
method.
target
- is the name of a server, cluster or virtual host. Virtual hosts are only valid
for web deployments.modules
- is an optional list of module names which are specifically targetted to the named target. A null value
indicates all modules. An empty array implies no modules.public void addTargetsForComponent(weblogic.management.configuration.ApplicationMBean mbean, String compName) throws 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 object
IllegalArgumentException
public void addTargetsFromConfig(weblogic.management.configuration.BasicDeploymentMBean dmb)
dmb
- public Map getAllModuleTargets()
Map
. Key = module name. Value = String[] of target names.public Map getAllSubModuleTargets()
public Set getAllTargetedServers(Set logicalTargets, weblogic.management.configuration.DomainMBean editDomain) throws weblogic.deploy.beans.factory.InvalidTargetException
weblogic.deploy.beans.factory.InvalidTargetException
public String getAltDescriptorPath()
public String getAltWLSDescriptorPath()
public boolean getClusterConstraints()
public String getConfigDirectory()
public boolean getDelete()
public DeploymentOptions getDeploymentOptions()
public String getDeploymentPlan()
public String[] getFiles()
public String[] getGlobalTargets()
public String getIntendedState()
public String[] getModules()
public String[] getModulesForTarget(String target)
public String[] getModuleTargets(String moduleName)
public String getRootDirectory()
public String getSecurityModel()
public Map getSubModuleTargets(String moduleName)
Map
where Key = submodule name & Value =
String[] containing target names.public String[] getTargets()
getGlobalTargets()
, #getModuleTargets
or {@link #getSubModuleTargets}
public Set getTargetsForModule(String module)
public int getTargetType(String target)
target
- is the name of the target being checked.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 boolean hasFiles()
public boolean hasGlobalTarget(String targetname)
public boolean hasModuleTargets()
public boolean hasSubModuleTargets()
public boolean hasTargets()
public boolean isLibrary()
public boolean isSecurityValidationEnabled()
public boolean isStandaloneModule()
public void setAltDescriptorPath(String dd)
public void setAltWLSDescriptorPath(String dd)
public void setClusterConstraints(boolean clusterConstraints)
public void setConfigDirectory(String config)
public void setDelete(boolean deleteFlag)
public void setDeploymentOptions(DeploymentOptions opts)
public void setDeploymentPlan(String plan)
public void setFile(String[] files)
public void setFileTypes(String rootPath) throws FileNotFoundException
FileNotFoundException
public void setGlobalTargets(String[] targetNames)
public void setIntendedState(String state)
state
- public void setLibrary(boolean isLibrary)
public void setPlanUpdate(boolean b)
public void setRootDirectory(String dir)
public void setSecurityModel(String model) throws IllegalArgumentException
IllegalArgumentException
public void setSecurityValidationEnabled(boolean enable)
public void setTargetType(String target, int type)
target
- is the name of the target being updated.type
- the type of the target.public void setTimeOut(int timeInMillis)
getTimeOut()
public String toString()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |