Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

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..

Access limited to the following security roles:
Deployer

Method Summary
 String getImplementationVersion()
          The library's implementation version, null if none is set
 String getLibraryIdentifier()
          The library's identifier.
 String getLibraryName()
          The library's name.
 String getSpecificationVersion()
          The library's specification version, null if none is set
 DeploymentProgressObjectMBean redeploy()
          Redeploy the library using the default options and configured targets.
 DeploymentProgressObjectMBean redeploy(String[] targets, Properties deploymentOptions)
          Redeploy the library in the background for the targets specified with the options specified.
 DeploymentProgressObjectMBean undeploy()
          Undeploy the library using the default options and configured targets.
 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.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, 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


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.

Copyright 1996, 2014, 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.1.3)

Part Number E41849-02