This MBean provides deployment operations. A DeploymentManager object is a stateless interface into the Weblogic Server deployment framework. It currently provides access to the App Deployment Runtime MBeans that allow the user to start and stop deployments. In the future, this MBean may be enhanced with operations to support deployment applications to the domain as well as extended WLS deployment features such as production redeployment and partial deployment of modules in an enterprise application. This MBean emits notifications when an application is created or removed and when the application state changes. The notification types are appdeployment.created, appdeployment.deleted, appdeployment.state.new, appdeployment.state.prepared, appdeployment.state.admin, appdeployment.state.active, appdeployment.state.retired, appdeployment.state.failed, appdeployment.state.update.pending, and appdeployment.state.unknown. The userdata is the object name of the application.
Since | 10.3.6.0 | ||
Security roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
|
||
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.management.runtime.DeploymentManagerMBean
|
||
Factory Methods | No factory methods. Instances of this MBean are created automatically. | ||
Access Points |
You can access this MBean from the following MBean attributes:
|
||
Access Points Inherited from RuntimeMBean |
Because this MBean extends or implements RuntimeMBean, you can also access this MBean by retrieving RuntimeMBeans. The following attributes contain RuntimeMBeans and its subtypes:
|
This section describes attributes that provide access to other MBeans.
Provides access to the applications that are deployed in the domain.
Lookup Operation | lookupAppDeploymentRuntime(String name)
Returns a |
Privileges | Read only |
Type | AppDeploymentRuntimeMBean[] |
Relationship type: | Reference. |
Provides access to the deployment operations that have been performed on this domain.
Privileges | Read only |
Type | DeploymentProgressObjectMBean[] |
Relationship type: | Reference. |
Provides access to the libraries that are deployed to the domain.
Lookup Operation | lookupLibDeploymentRuntime(String name)
Returns a |
Privileges | Read only |
Type | LibDeploymentRuntimeMBean[] |
Relationship type: | Reference. |
This section describes the following attributes:
Private property that disables caching in proxies.
Privileges | Read only |
Type | boolean |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The maximum number of progress objects allowed.
Privileges | Read/Write |
Type | int |
Returns the MBean info for this MBean.
Deprecated.
Privileges | Read only |
Type | javax.management.MBeanInfo |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.
Privileges | Read only |
Type | java.lang.String |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Returns the ObjectName under which this MBean is registered in the MBean server.
Deprecated.
Privileges | Read only |
Type | weblogic.management.WebLogicObjectName |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Return the immediate parent for this MBean
Privileges | Read/Write |
Type |
Returns false if the MBean represented by this object has been unregistered.
Deprecated.
Privileges | Read only |
Type | boolean |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Returns the type of the MBean.
Privileges | Read only |
Type | java.lang.String |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
This section describes the following operations:
Used by the deployment subsystem to confirm an application name. .
Operation Name | "confirmApplicationName" |
Parameters | Object [] { isRedeployment, appSource, tentativeName, tentativeApplicationId }
where:
|
Signature | String [] {
"java.lang.Boolean",
"java.lang.String",
"java.lang.String",
"java.lang.String" } |
Returns | String
|
Exceptions |
|
A convenience method for distributing and starting an application. The application source files and deployment plan are distributed to the deployment targets using the default options. This is a synchronous operation that returns when the deploy operation has completed. If distribution is successful, the application is then started on each of the targets. Successful deployment requires that all targets receive both the archive and deployment plan. The default options are clusterDeploymentTimeout: 3600000 milliseconds, gracefulIgnoreSessions: false, gracefulProductionToAdmin: false, retireGracefully: true, retireTimeout: no timeout, adminMode: false, timeout: no timeout
If any modules are currently running, this method immediately restarts those modules using the newer files. Restarting modules in this manner is not the same as redeployment, because session state is not preserved for the active modules.
Operation Name | "deploy" |
Parameters | Object [] { name, applicationPath, plan }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String",
"java.lang.String" } |
Returns | DeploymentProgressObjectMBean |
Exceptions |
|
A convenience method for distributing and starting an application. The application source files and deployment plan are distributed to the deployment targets using the options specified. This is an asynchronous operation that returns immediately. If distribution is successful, the application is then started on each of the targets. Successful deployment requires that all targets receive both the archive and deployment plan.
If any modules are currently running, this method immediately restarts those modules using the newer files. Restarting modules in this manner is not the same as redeployment, because session state is not preserved for the active modules.
Operation Name | "deploy" |
Parameters | Object [] { name, applicationPath, targets, plan, deploymentOptions }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String",
"[Ljava.lang.String;",
"java.lang.String",
"java.util.Properties" } |
Returns | DeploymentProgressObjectMBean |
Exceptions |
|
Distribute an application. The application source files and deployment plan are distributed to the deployment targets using the options specified. This is an asynchronous operation that returns immediately.
Operation Name | "distribute" |
Parameters | Object [] { name, applicationPath, targets, plan, deploymentOptions }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String",
"[Ljava.lang.String;",
"java.lang.String",
"java.util.Properties" } |
Returns | DeploymentProgressObjectMBean |
Exceptions |
|
Distribute an application. The application source files and deployment plan are distributed to the deployment targets using the default options. This is a synchronous operation that returns when the distribute operation has completed. The default options are clusterDeploymentTimeout: 3600000 milliseconds, gracefulIgnoreSessions: false, gracefulProductionToAdmin: false, retireGracefully: true, retireTimeout: no timeout, adminMode: false, timeout: no timeout
Operation Name | "distribute" |
Parameters | Object [] { name, applicationPath, plan }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String",
"java.lang.String" } |
Returns | DeploymentProgressObjectMBean |
Exceptions |
|
Operation Name | "preDeregister" |
Parameters | null |
Signature | null |
Returns |
void
|
Exceptions |
|
Removes progress objects for completed operations.
Operation Name | "purgeCompletedDeploymentProgressObjects" |
Parameters | null |
Signature | null |
Returns |
void
|
Remove a progress object.
Operation Name | "removeDeploymentProgressObject" |
Parameters | Object [] { appName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|