Skip navigation links

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


weblogic.management.runtime
Interface LibDeploymentRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface LibDeploymentRuntimeMBean
extends RuntimeMBean

This MBean provides deployment operations for a library..


Method Summary
abstract  String getImplementationVersion()
          The library's implementation version, null if none is set
abstract  String getLibraryIdentifier()
          The library's identifier.
abstract  String getLibraryName()
          The library's name.
abstract  String getPartitionName()
          The name of the partition the library is in.
abstract  String getSpecificationVersion()
          The library's specification version, null if none is set
abstract  DeploymentProgressObjectMBean redeploy()
          Redeploy the library using the default options and configured targets.
abstract  DeploymentProgressObjectMBean redeploy(String[] targets, Properties deploymentOptions)
          Redeploy the library in the background for the targets specified with the options specified.
abstract  DeploymentProgressObjectMBean undeploy()
          Undeploy the library using the default options and configured targets.
abstract  DeploymentProgressObjectMBean undeploy(String[] targets, Properties deploymentOptions)
          Undeploy the library in the background for the targets specified with the options specified.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Method Detail

getLibraryName

String getLibraryName()

The library's name.

Returns:
the library's name.

getLibraryIdentifier

String getLibraryIdentifier()

The library's identifier.

Returns:
The library's identifier.

getSpecificationVersion

String getSpecificationVersion()

The library's specification version, null if none is set


getImplementationVersion

String getImplementationVersion()

The library's implementation version, null if none is set


getPartitionName

String getPartitionName()

The name of the partition the library is in.

Returns:
the name of the partition the library is in. Otherwise, null.

undeploy

DeploymentProgressObjectMBean undeploy()
                                       throws RuntimeException

Undeploy the library using the default options and configured targets. This is a synchronous operation that returns when the redeploy operation has completed. The default options are adminMode boolean false timeout: no timeout

Returns:
DeploymentProgressObjectMBean An object that provides the state of the undeploy operation.
Throws:
RuntimeExceptionm - if the operation cannot be started All other errors are reported via the returned DeploymentProgressObjectMBean.
RuntimeException

undeploy

DeploymentProgressObjectMBean undeploy(String[] targets,
                                       Properties deploymentOptions)
                                       throws RuntimeException

Undeploy the library in the background for the targets specified with the options specified. This is an asynchronous operation that returns immediately. The returned DeploymentProgressObjectMBean can be used to determine when the operation is completed.

Parameters:
targets - The targets on which to undeploy the library. This would be server names, cluster names, or module names in a similar format to weblogic.Deployer (i.e. module1@server1). If null, the library will be undeployed on all configured targets.
deploymentOptions - Allows for overriding the deployment options. If null, default options will be used. The values should all be of type The keys,units and default values for options are adminMode boolean false timeout milliseconds 0 (no timeout)
Returns:
DeploymentProgressObjectMBean An object that provides the state of the undeploy operation.
Throws:
RuntimeException - if the operation cannot be started All other errors are reported via the returned DeploymentProgressObjectMBean.

redeploy

DeploymentProgressObjectMBean redeploy()
                                       throws RuntimeException

Redeploy the library using the default options and configured targets. This is a synchronous operation that returns when the redeploy operation has completed. The default options are adminMode: false, timeout: no timeout

Returns:
DeploymentProgressObjectMBean An object that provides the state of the redeploy operation.
Throws:
RuntimeExceptionm - if the operation cannot be started All other errors are reported via the returned DeploymentProgressObjectMBean.
RuntimeException

redeploy

DeploymentProgressObjectMBean redeploy(String[] targets,
                                       Properties deploymentOptions)
                                       throws RuntimeException

Redeploy the library in the background for the targets specified with the options specified. This is an synchronous operation that returns immediately. The returned DeploymentProgressObjectMBean can be used to determine when the operation is completed.

Parameters:
targets - The targets on which to redeploy the library. This would be server names, cluster names, or module names in a similar format to weblogic.Deployer (i.e. module1@server1). If null, the library will be redeployed on all configured targets.
deploymentOptions - Allows for overriding the deployment options. If null, default options will be used. The keys,units and default values for options are adminMode boolean false, timeout milliseconds 0 (no timeout)
Returns:
DeploymentProgressObjectMBean An object that provides the state of the redeploy operation.
Throws:
RuntimeException - if the operation cannot be started All other errors are reported via the returned DeploymentProgressObjectMBean.

Skip navigation links

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