LibDeploymentRuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

This MBean provides deployment operations for a library..

       
Security rolesThe following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
  • Deployer
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.runtime.LibDeploymentRuntimeMBean
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:


    Attributes

    This section describes the following attributes:


    CachingDisabled

    Private property that disables caching in proxies.

           
    Privileges Read only
    Typeboolean

    ImplementationVersion

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

           
    Privileges Read only
    Typejava.lang.String

    LibraryIdentifier

    The library's identifier.

           
    Privileges Read only
    Typejava.lang.String

    LibraryName

    The library's name.

           
    Privileges Read only
    Typejava.lang.String

    MBeanInfo

    Returns the MBean info for this MBean.

    Deprecated.

           
    Privileges Read only
    Typejavax.management.MBeanInfo

    Name

    The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

           
    Privileges Read only
    Typejava.lang.String

    ObjectName

    Returns the ObjectName under which this MBean is registered in the MBean server.

    Deprecated.

           
    Privileges Read only
    Typeweblogic.management.WebLogicObjectName

    Parent

    Return the immediate parent for this MBean

           
    Privileges Read/Write
    Type

    Registered

    Returns false if the MBean represented by this object has been unregistered.

    Deprecated.

           
    Privileges Read only
    Typeboolean

    SpecificationVersion

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

           
    Privileges Read only
    Typejava.lang.String

    Type

    Returns the type of the MBean.

           
    Privileges Read only
    Typejava.lang.String


    Operations

    This section describes the following operations:


    preDeregister

       
    Operation Name"preDeregister"
    Parametersnull
    Signaturenull
    Returns void
    Exceptions
    • java.lang.Exception

    redeploy

    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

       
    Operation Name"redeploy"
    Parametersnull
    Signaturenull
    ReturnsDeploymentProgressObjectMBean
    Exceptions
    • java.lang.RuntimeException

    redeploy

    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.

       
    Operation Name"redeploy"
    ParametersObject [] {  targetsdeploymentOptions }

    where:

    • targets is an object of type [Ljava.lang.String; that specifies:

      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 is an object of type java.util.Properties that specifies:

      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)

    SignatureString [] { "[Ljava.lang.String;", "java.util.Properties" }
    ReturnsDeploymentProgressObjectMBean
    Exceptions
    • java.lang.RuntimeException

    undeploy

    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.

       
    Operation Name"undeploy"
    ParametersObject [] {  targetsdeploymentOptions }

    where:

    • targets is an object of type [Ljava.lang.String; that specifies:

      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 is an object of type java.util.Properties that specifies:

      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)

    SignatureString [] { "[Ljava.lang.String;", "java.util.Properties" }
    ReturnsDeploymentProgressObjectMBean
    Exceptions
    • java.lang.RuntimeException

    undeploy

    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

       
    Operation Name"undeploy"
    Parametersnull
    Signaturenull
    ReturnsDeploymentProgressObjectMBean
    Exceptions
    • java.lang.RuntimeException