|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppDeploymentMBean
This MBean is used to configure all physical package types which can be deployed on a weblogic domain. For instance, EARs, standalone J2EE and non-J2EE modules.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. .
Field Summary | |
---|---|
static String |
DEFAULT_STAGE
|
static String |
EXTERNAL_STAGE
Indicates that the files will be expected in the target server's staging directory, but the server will not copy them there. |
static String |
NO_STAGE
Specifies that the deployment will not be copied to target servers. |
static String |
STAGE
Specifies that WebLogic Server will copy the application to the target server's staging directory. |
Method Summary | |
---|---|
String |
getAbsoluteInstallDir()
The fully resolved location of this application's installation root directory on the Administration Server. |
String |
getAbsolutePlanDir()
The fully resolved location of this application's deployment plan directory on the Administration Server. |
String |
getAbsolutePlanPath()
The fully resolved location of this application's deployment plan on the Administration Server. |
String |
getAbsoluteSourcePath()
The fully resolved location of this application's source files on the Administration Server. |
String |
getApplicationIdentifier()
The Application Identifier of the application version uniquely identifies the application version across all versions of all applications. |
String |
getApplicationName()
The name of the application. |
byte[] |
getDeploymentPlan()
The contents of this application's deployment plan, returned as a byte[] containing the XML. |
byte[] |
getDeploymentPlanExternalDescriptors()
A zip file containing the external descriptors referenced in the deployment plan. |
String |
getInstallDir()
The path to application's install-root directory, relative to the domain/config/deployments directory. |
String |
getPlanDir()
The location of this application's configuration area. |
String |
getPlanPath()
The path to the deployment plan document on Administration Server. |
String |
getSecurityDDModel()
The security model that is used to secure a deployed module. |
String |
getSourcePath()
The path to the source of the deployable unit on the Administration Server. |
String |
getStagingMode()
The mode that specifies whether a deployment's files are copied from a source on the Administration Server to the Managed Server's staging area during application preparation. |
String |
getVersionIdentifier()
Uniquely identifies the application version across all versions of the same application. |
boolean |
isValidateDDSecurityData()
This attribute is not used in the current release. |
void |
setValidateDDSecurityData(boolean validate)
Sets the value of the ValidateDDSecurityData attribute. |
Field Detail |
---|
static final String DEFAULT_STAGE
static final String NO_STAGE
Specifies that the deployment will not be copied to target servers.
static final String STAGE
Specifies that WebLogic Server will copy the application to the target server's staging directory.
static final String EXTERNAL_STAGE
Indicates that the files will be expected in the target server's staging directory, but the server will not copy them there. The user is responsible for distributing files.
Method Detail |
---|
String getInstallDir()
The path to application's install-root directory, relative to the domain/config/deployments directory.
When the Install Directory is specified, SourcePath, PlanDir, and PlanPath are derived from this path, and need not be specified.
Default value for this is the name of the deployment.
AppDeploymentMBean.getSourcePath()
,
AppDeploymentMBean.getPlanDir()
,
AppDeploymentMBean.getPlanPath()
String getSourcePath()
The path to the source of the deployable unit on the Administration Server.
Rules:
If the source path is relative, it is resolved relative to InstallDir/app if InstallDir is not null; Otherwise, it is resolved relative to domain root.Use AbsoluteSourcePath to get a fully resolved value.
AppDeploymentMBean.getInstallDir()
,
AppDeploymentMBean.getAbsoluteSourcePath()
String getPlanDir()
The location of this application's configuration area. This directory can contain external descriptor files as specified within the deployment plan document.
Rules:
If the plan directory is a relative path, it is resolved relative to InstallDir if InstallDir is not null; otherwise, it is resolved relative to domain root.Use AbsolutePlanDir to get a fully resolved value.
AppDeploymentMBean.getInstallDir()
,
AppDeploymentMBean.getAbsolutePlanDir()
String getPlanPath()
The path to the deployment plan document on Administration Server.
Rules:
If the plan path is a relative path, it is resolved relative to PlanDir if PlanDir is not null; otherwise, it is resolved relative to domain root.Use AbsolutePlanPath to get a fully resolved value.
If there is no plan, this returns no plan specified.
AppDeploymentMBean.getPlanDir()
,
AppDeploymentMBean.getAbsolutePlanPath()
String getVersionIdentifier()
Uniquely identifies the application version across all versions of the same application.
If the application is not versioned, this returns null.
boolean isValidateDDSecurityData()
This attribute is not used in the current release.
void setValidateDDSecurityData(boolean validate)
Sets the value of the ValidateDDSecurityData attribute.
validate
- a boolean indicating the validation setting.AppDeploymentMBean.isValidateDDSecurityData()
String getSecurityDDModel()
The security model that is used to secure a deployed module.
To set this value, you can use the weblogic.Deployer
command-line tool, the Deployment Assistant in the Administration Console,
the WebLogic Scripting Tool (WLST), or some other JMX client.
If you deploy a module using one of the previously mentioned tools and
you do not specify a security model value, the module is secured with the security
realm's default model ( see
RealmMBean SecurityDDModel
).
If you deploy a module by modifying the domain's config.xml
file
and restarting the server, and if you do not specify a security model value
for the module in config.xml
, the module is secured with the
DDOnly
model, which is the default value of this
AppDeploymentMBean
attribute.
In summary, the order of precedence for the value of this attribute is as follows:
config.xml
and restarting the server,
the order of precedence is:
config.xml
.AppDeploymentMBean SecurityDDModel
attribute.
RealmMBean.getSecurityDDModel()
String getStagingMode()
The mode that specifies whether a deployment's files are copied from a source on the Administration Server to the Managed Server's staging area during application preparation.
Staging mode for an application can only be set the first time the application is deployed. Once staging mode for an application is set, it cannot be changed while the application is configured in the domain. The only way to change staging mode is to undeploy then redeploy the application.
This attribute overrides the server's staging mode.
ServerMBean.getStagingMode()
String getApplicationIdentifier()
The Application Identifier of the application version uniquely identifies the application version across all versions of all applications. If the application is not versioned, the Application Identifier is the same as the application name.
String getApplicationName()
The name of the application.
Note that the name of the current MBean is not the name of the application.
String getAbsoluteInstallDir()
String getAbsolutePlanPath()
String getAbsolutePlanDir()
String getAbsoluteSourcePath()
byte[] getDeploymentPlan()
byte[] getDeploymentPlanExternalDescriptors()
|
Copyright 1996, 2011, 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 Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |