PartitionLifeCycleRuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

Provides methods that transition partitions from one state to another. This class is instantiated once for each partition but only on the Administration Server. Even so, you can use a partition's instance to change the state of the partition on Managed Servers as well as on the Administration Server.

Detecting when Operations Complete

Methods representing operations on partitions return a PartitionLifeCycleTaskRuntimeMBean object. The caller should monitor the returned instance, invoking its PartitionLifeCycleTaskRuntimeMBean#isRunning() method to detect when the operation has completed. In particular, the caller shouldnotrely on the value returned from State() to indicate when an operation on a partition that is targeted to multiple servers has finished. That value will be accurate as described in detail on State() but can change before the operation has finished.

Desired States

The system tracks the desired state for each partition, which defaults to the state SHUTDOWN and substate HALTED. Whenever a lifecycle operation method is called the system not only performs the requested action on the partition but also records the resulting state as the new desired state for the partition.

The system uses the desired state for a partition to bring the partition to the correct state during server restart. It can also be used when the State() method computes the overall state for the partition.

           
Since12.2.1.0.0
Security rolesThe following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
  • Operator
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.PartitionLifeCycleRuntimeMBean
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:


    Related MBeans

    This section describes attributes that provide access to other MBeans.


      ResourceGroupLifeCycleRuntimes

      The resource group lifecycle tasks for this partition.

                 
      Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
      Lookup OperationlookupResourceGroupLifeCycleRuntime(String name)

      Returns a javax.management.ObjectName for the instance of ResourceGroupLifeCycleRuntimeMBean named name.

      Privileges Read only
      TypeResourceGroupLifeCycleRuntimeMBean[]
      Relationship type: Containment.

      Tasks

      The preexisting partition lifecycle tasks.

                 
      Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
      Lookup OperationlookupTask(String name)

      Returns a javax.management.ObjectName for the instance of PartitionLifeCycleTaskRuntimeMBean named name.

      Privileges Read only
      TypePartitionLifeCycleTaskRuntimeMBean[]
      Relationship type: Containment.


      Attributes

      This section describes the following attributes:


      CachingDisabled

      Private property that disables caching in proxies.

             
      Privileges Read only
      Typeboolean

      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

      State

      The current overall state of the partition.

      The value returned is the highest state for the partition on all servers where it is targeted. As a result, the overall partition state can change (for example, to RUNNING) as soon as the operation (such as start) has finished on one server, even while the operation is still in progress elsewhere.

      If the partition is not currently targeted to any running server then its reported state is the desired state indicated by the most recent partition life cycle operation on the partition.

             
      Privileges Read only
      Typejava.lang.String

      SubState

      The current substate of the partition. It is mostly useful for knowing whether the partition is completely shutdown and the administrative resource groups are not running, in which case this method returns HALTED, or if the partition is in the SHUTDOWN.BOOTED state and the administrative resource groups are running, in which case this method returns BOOTED.

             
      Available Since Release 12.2.1.1.0
      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:


      boot

      Begins the transition of the partition from the SHUTDOWN state and HALTED substate to the SHUTDOWN state and BOOTED substate on the specified targets.

      This operation has the effect of starting the partition's administrative resource groups on those targets, changing their states on those targets from SHUTDOWN to RUNNING.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"boot"
      ParametersObject [] {  targets }

      where:

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to boot this partition

      SignatureString [] { "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If the boot operation fails

      boot

      Begins the transition of the partition from the SHUTDOWN state and HALTED substate to the SHUTDOWN state and BOOTED substate on all targeted servers.

      This operation has the effect of starting the partition's administrative resource groups, changing their states from SHUTDOWN to RUNNING.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"boot"
      Parametersnull
      Signaturenull
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If the halt operation fails

      forceShutdown

      Begins to force the shutdown of this partition with the specified timeout on all targeted servers.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"forceShutdown"
      ParametersObject [] {  timeout }

      where:

      • timeout is an object of type java.lang.Integer that specifies:

        timeout

      SignatureString [] { "java.lang.Integer" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException
      • java.lang.InterruptedException
        InterruptedException

      forceShutdown

      Begins to force the shutdown of this partition on all targeted servers.

      On each targeted server the partition is shut down and thenrestored to its current state on that server.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"forceShutdown"
      Parametersnull
      Signaturenull
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException if the partition fails to shut down

      forceShutdown

      Begins to force the shut down of this partition on the specified targets.

      On each target the partition is shut down and then restored to its current state on that server.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"forceShutdown"
      ParametersObject [] {  targets }

      where:

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to start this partition

      SignatureString [] { "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException if the partition fails to shut down

      forceSuspend

      Begins the forceful transition of the partition from the RUNNING state to the ADMIN state on all targeted servers.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"forceSuspend"
      Parametersnull
      Signaturenull
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException the partition could not suspend.

      forceSuspend

      Begins the forceful transition of the partition from the RUNNING state to the ADMIN state on the specified targets.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"forceSuspend"
      ParametersObject [] {  targets }

      where:

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to start this partition

      SignatureString [] { "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException the partition could not suspend.

      getState

      The state of the partition on a specific server.

      This method has been deprecated in favor of retrieving partition state correctly on dynamic servers. ServerMBean does not exist for dynamic servers in the domain runtime tree. So, although invoking this method from domain runtime tree works for static servers, does not work for dynamic servers.

      Please use PartitionLifeCycleRuntimeMBean.getState(ServerLifeCycleRuntimeMBean serverLifeCycleRuntimeMBean)

      Deprecated. 12.2.1.2.0

         
      Operation Name"getState"
      ParametersObject [] {  serverMBean }

      where:

      • serverMBean is an object of type weblogic.management.configuration.ServerMBean that specifies:

        serverMBean

      SignatureString [] { "weblogic.management.configuration.ServerMBean" }
      ReturnsString
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException

      getState

      The current state of the partition on a specific server.

         
      Operation Name"getState"
      ParametersObject [] {  serverName }

      where:

      • serverName is an object of type java.lang.String that specifies:

        name of the server on which the substate to check

      SignatureString [] { "java.lang.String" }
      ReturnsString
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException

      getSubState

      The current substate of the partition on a specific server.

      This method has been deprecated in favor of retrieving partition substate correctly on dynamic servers. ServerMBean does not exist for dynamic servers in the domain runtime tree. So, although invoking this method from domain runtime tree works for static servers, does not work for dynamic servers.

      Please use PartitionLifeCycleRuntimeMBean.getSubState(ServerLifeCycleRuntimeMBean serverLifeCycleRuntimeMBean)

      Deprecated. 12.2.1.2.0

         
      Operation Name"getSubState"
      ParametersObject [] {  serverMBean }

      where:

      • serverMBean is an object of type weblogic.management.configuration.ServerMBean that specifies:

        the server on which the substate to check

      SignatureString [] { "weblogic.management.configuration.ServerMBean" }
      ReturnsString
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException

      getSubState

      The current substate of the partition on a specific server.

         
      Operation Name"getSubState"
      ParametersObject [] {  serverName }

      where:

      • serverName is an object of type java.lang.String that specifies:

        name of the server on which the substate to check

      SignatureString [] { "java.lang.String" }
      ReturnsString
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException

      halt

      Begins the forceful transition of the partition from the RUNNING state or the ADMIN state to the SHUTDOWN state and HALTED substate on all targeted servers.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"halt"
      Parametersnull
      Signaturenull
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If the halt operation fails

      halt

      Begins the forceful transition of the partition from the RUNNING state or the ADMIN state to the SHUTDOWN state and HALTED substate on a specific set of targets.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"halt"
      ParametersObject [] {  targets }

      where:

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to halt this partition

      SignatureString [] { "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If the halt operation fails

      purgeTasks

      Clears the retained task collection.

         
      Operation Name"purgeTasks"
      Parametersnull
      Signaturenull
      Returns void

      resume

      Begins the transition of the partition from the ADMIN state to the RUNNING state on all targeted servers.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"resume"
      Parametersnull
      Signaturenull
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If the resume operation fails

      resume

      Begins the transition of the partition from the ADMIN state to the RUNNING state on the specified targets.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"resume"
      ParametersObject [] {  targets }

      where:

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to start this partition

      SignatureString [] { "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If the resume operation fails

      shutdown

      Begins to shut down this partition gracefully on the specified targets.

      (Equivalent to shutdown(targets, 0, false)).

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"shutdown"
      ParametersObject [] {  targets }

      where:

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to start this partition

      SignatureString [] { "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException if the shutdown fails

      shutdown

      Begins to shut down this partition gracefully on the specified targets.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"shutdown"
      ParametersObject [] {  timeoutignoreSessionswaitForAllSessionstargets }

      where:

      • timeout is an object of type java.lang.Integer that specifies:

        Number of seconds to wait before aborting inflight work and force shutting down the server.

      • ignoreSessions is an object of type java.lang.Boolean that specifies:

        Set to true to ignore pending HTTP sessions during inflight work handling.

      • waitForAllSessions is an object of type java.lang.Boolean that specifies:

        Set to true to wait for all HTTP sessions duirng inflight work handling; false to wait for non-persisted HTTP sessions only.

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to shut down this partition

      SignatureString [] { "java.lang.Integer", "java.lang.Boolean", "java.lang.Boolean", "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If the partition fails to gracefully shutdown. A {@link #forceShutdown()} operation can be invoked.

      shutdown

      Begins to shut down this partition gracefully on all targeted servers.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"shutdown"
      ParametersObject [] {  timeoutignoreSessionswaitForAllSessions }

      where:

      • timeout is an object of type java.lang.Integer that specifies:

        Number of seconds to wait before aborting inflight work and force shutting down the server.

      • ignoreSessions is an object of type java.lang.Boolean that specifies:

        Set to true to ignore pending HTTP sessions during inflight work handling.

      • waitForAllSessions is an object of type java.lang.Boolean that specifies:

        Set to true to wait for all HTTP sessions duirng inflight work handling; false to wait for non-persisted HTTP sessions only.

      SignatureString [] { "java.lang.Integer", "java.lang.Boolean", "java.lang.Boolean" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If the partition fails to gracefully shutdown. A {@link #forceShutdown()} operation can be invoked.

      shutdown

      Begins to shut down this partition gracefully on the specified targets.

      (Equivalent to shutdown(timeout, ignoreSessions, false, targets)).

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"shutdown"
      ParametersObject [] {  timeoutignoreSessionstargets }

      where:

      • timeout is an object of type java.lang.Integer that specifies:

        Number of seconds to wait before aborting inflight work and shutting down the server.

      • ignoreSessions is an object of type java.lang.Boolean that specifies:

        true

        indicates ignore pending HTTP sessions during inflight work handling.

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to shut down this partition

      SignatureString [] { "java.lang.Integer", "java.lang.Boolean", "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException Thrown if the partition cannot gracefully shutdown. Use the forceShutdown command to shutdown the partition.

      shutdown

      Begins to shut down this partition gracefully on all targeted servers.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"shutdown"
      Parametersnull
      Signaturenull
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException if the shutdown fails

      shutdown

      Begins to shut down this partition gracefully on all targeted servers.

      (Equivalent to shutdown(timeout, ignoreSessions, false, targets)).

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"shutdown"
      ParametersObject [] {  timeoutignoreSessions }

      where:

      • timeout is an object of type java.lang.Integer that specifies:

        Number of seconds to wait before aborting inflight work and shutting down the server.

      • ignoreSessions is an object of type java.lang.Boolean that specifies:

        true

        indicates ignore pending HTTP sessions during inflight work handling.

      SignatureString [] { "java.lang.Integer", "java.lang.Boolean" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException Thrown if the partition cannot gracefully shutdown. Use the forceShutdown command to shutdown the partition.

      start

      Begins to start this partition on all targeted servers.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"start"
      Parametersnull
      Signaturenull
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If start operation fails

      start

      Begins to start this partition in the specified initialState within the specified timeOut on all targeted servers.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"start"
      ParametersObject [] {  initialStatetimeOut }

      where:

      • initialState is an object of type java.lang.String that specifies:

        can be can be ADMIN or RUNNING, default is RUNNING.

      • timeOut is an object of type java.lang.Integer that specifies:

        Specifies the number of milliseconds to start a Partition. Throws InterruptedException if Partition is unable to start during that duration and leaves the Partition in UNKNOWN state. Default is 60000ms

      SignatureString [] { "java.lang.String", "java.lang.Integer" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        InterruptedException
      • java.lang.InterruptedException
        PartitionLifeCycleException

      start

      Begins to start this partition on the specified targets.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"start"
      ParametersObject [] {  targets }

      where:

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to start this partition

      SignatureString [] { "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException if the start fails

      startInAdmin

      Begins to start this partition in the ADMIN state on all targeted servers.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"startInAdmin"
      Parametersnull
      Signaturenull
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException if the start fails

      startInAdmin

      Begins to start this partition in the ADMIN state on the specified targets.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

         
      Operation Name"startInAdmin"
      ParametersObject [] {  targets }

      where:

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to start this partition in "admin" state

      SignatureString [] { "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException if the start fails

      suspend

      Begins the graceful transition of the partition from the RUNNING state to the ADMIN state on the specified targets.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

      Applications are in admin mode. Inflight work is completed.

         
      Operation Name"suspend"
      ParametersObject [] {  timeoutignoreSessionstargets }

      where:

      • timeout is an object of type java.lang.Integer that specifies:

        Seconds to wait for the partition to transition gracefully. The partition automatically calls forceSuspend() after timeout.

      • ignoreSessions is an object of type java.lang.Boolean that specifies:

        drop inflight HTTP sessions during graceful suspend

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to start this partition

      SignatureString [] { "java.lang.Integer", "java.lang.Boolean", "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException partition failed to suspend gracefully. A {@link #forceSuspend()} or a {@link #forceShutdown()} operation can be invoked.

      suspend

      Begins the graceful transition of the partition from the RUNNING state to the ADMIN state on all targeted servers.

      (Equivalent to suspend(0, false))

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

      New requests are rejected and inflight work is allowed to complete.

      For more information, see:

         
      Operation Name"suspend"
      Parametersnull
      Signaturenull
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If the operation fails

      suspend

      Begins the graceful transition of the partition from the RUNNING state to the ADMIN state on all targeted servers.

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

      Applications are in admin mode. Inflight work is completed.

         
      Operation Name"suspend"
      ParametersObject [] {  timeoutignoreSessions }

      where:

      • timeout is an object of type java.lang.Integer that specifies:

        Seconds to wait for the partition to transition gracefully. The partition automatically calls forceSuspend() after timeout.

      • ignoreSessions is an object of type java.lang.Boolean that specifies:

        drop inflight HTTP sessions during graceful suspend

      SignatureString [] { "java.lang.Integer", "java.lang.Boolean" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException partition failed to suspend gracefully. A {@link #forceSuspend()} or a {@link #forceShutdown()} operation can be invoked.

      suspend

      Begins the graceful transition of the partition from the RUNNING state to the ADMIN state on the specified targets. (Equivalent to suspend(0, false, targets))

      Use the returned PartitionLifeCycleTaskRuntimeMBean value tocheck for completion.

      New requests are rejected and inflight work is allowed to complete.

      For more information, see:

         
      Operation Name"suspend"
      ParametersObject [] {  targets }

      where:

      • targets is an object of type [Lweblogic.management.configuration.TargetMBean; that specifies:

        the specific targets on which to start this partition

      SignatureString [] { "[Lweblogic.management.configuration.TargetMBean;" }
      ReturnsPartitionLifeCycleTaskRuntimeMBean
      Exceptions
      • weblogic.management.PartitionLifeCycleException
        PartitionLifeCycleException If the operation fails