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.configuration
Interface DynamicDeploymentMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean
All Known Subinterfaces:
FileStoreMBean, JDBCStoreMBean, MessagingBridgeMBean, PersistentStoreMBean, ReplicatedStoreMBean, TransactionLogJDBCStoreMBean

public interface DynamicDeploymentMBean
extends DeploymentMBean

Definition of a dynamic deployment interface


Field Summary

 

Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  String getDistributionPolicy()
          Specifies how the instances of a configured JMS artifact are named and distributed when deployed to a cluster.
abstract  long getFailbackDelaySeconds()
          Specifies the amount of time, in seconds, to delay before failing a cluster targeted JMS artifact instance back to its preferred server after the preferred server failed and was restarted.
abstract  long getInitialBootDelaySeconds()
          Specifies the amount of time, in seconds, to delay before starting a cluster targeted JMS instance on a newly booted WebLogic server.
abstract  String getMigrationPolicy()
          Controls migration and restart behavior of cluster targeted JMS service artifact instances.
abstract  int getNumberOfRestartAttempts()
          Specifies the number of restart attempts before migrating a failed JMS artifact instance to another server in the WebLogic cluster.
abstract  long getPartialClusterStabilityDelaySeconds()
          Specifies the amount of time, in seconds, to delay before a partially started cluster starts all cluster targeted JMS artifact instances that are configured with a Migration Policy of Always or On-Failure.
abstract  boolean getRestartInPlace()
          Enables periodic automatic restart of failed cluster targeted JMS artifact instance(s) running on healthy WebLogic Server instances.
abstract  int getSecondsBetweenRestarts()
          Specifies the amount of time, in seconds, to wait in between attempts to restart a failed service instance.
abstract  void setDistributionPolicy(String distributionPolicy)
           
abstract  void setFailbackDelaySeconds(long failbackDelaySeconds)
          Sets the value of the failbackDelaySeconds attribute.
abstract  void setInitialBootDelaySeconds(long initialBootDelaySeconds)
          Sets the value of the initialBootDelaySeconds attribute.
abstract  void setMigrationPolicy(String migrationPolicy)
          Migration policy used for this JMS artifact (persistent store or messaging bridge).
abstract  void setNumberOfRestartAttempts(int restartAttempts)
          Sets the value of the NumberOfRestartAttempts attribute.
abstract  void setPartialClusterStabilityDelaySeconds(long partialClusterStabilityDelaySeconds)
          Sets the value of the steadyStateStime attribute.
abstract  void setRestartInPlace(boolean restartInPlace)
           
abstract  void setSecondsBetweenRestarts(int seconds)
          Sets the value of the SecondsBetweenRestarts attribute.

 

Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, 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

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

getDistributionPolicy

String getDistributionPolicy()

Specifies how the instances of a configured JMS artifact are named and distributed when deployed to a cluster. When this setting is configured on a Store it applies to all JMS artifacts that reference the store. Valid options:

The DistributionPolicy determines the instance name suffix for cluster targeted JMS artifacts. The suffix for a cluster targeted Singleton is -01 and for a cluster targeted Distributed is @ClusterMemberName.

Returns:
DistributionPolicy, the name of the distribution mode policy chosen for this dynamic deployment mbean (persistent store or messaging bridge)
See Also:
DynamicDeploymentMBean.getMigrationPolicy(), DynamicDeploymentMBean.setDistributionPolicy(java.lang.String)

setDistributionPolicy

void setDistributionPolicy(String distributionPolicy)
Parameters:
distributionPolicy - the name of the distribution mode policy chosen for this dynamic deployment mbean (persistent store or messaging bridge)
See Also:
DynamicDeploymentMBean.getDistributionPolicy()

getMigrationPolicy

String getMigrationPolicy()

Controls migration and restart behavior of cluster targeted JMS service artifact instances. When this setting is configured on a Store it applies to all JMS artifacts that reference the store. Valid options:

Note: Cluster leasing must be configured for On-Failure and Always.
Returns:
migrationPolicy, the policy used for migration
See Also:
DynamicDeploymentMBean.setMigrationPolicy(java.lang.String)

setMigrationPolicy

void setMigrationPolicy(String migrationPolicy)
Migration policy used for this JMS artifact (persistent store or messaging bridge).
Parameters:
migrationPolicy, - the dynamic server number,
See Also:
DynamicDeploymentMBean.getMigrationPolicy()

getRestartInPlace

boolean getRestartInPlace()

Enables periodic automatic restart of failed cluster targeted JMS artifact instance(s) running on healthy WebLogic Server instances. Restart attempts occur before attempts to migrate an instance to a different server in the cluster. When this setting is configured on a Store it applies to all JMS artifacts that reference the store.

Returns:
restart-in-place, the value of the restart-in-place option for this dynamic deployment mbean (persistent or messaging bridge).
See Also:
DynamicDeploymentMBean.setRestartInPlace(boolean)

setRestartInPlace

void setRestartInPlace(boolean restartInPlace)
Parameters:
restartInPlace - the value of restart-in-place chosen for this JMS artifact (persistent store or messaging bridge)
See Also:
DynamicDeploymentMBean.getRestartInPlace()

getSecondsBetweenRestarts

int getSecondsBetweenRestarts()

Specifies the amount of time, in seconds, to wait in between attempts to restart a failed service instance.


setSecondsBetweenRestarts

void setSecondsBetweenRestarts(int seconds)
Sets the value of the SecondsBetweenRestarts attribute.
Parameters:
seconds - to pause between restart attempts
See Also:
DynamicDeploymentMBean.getSecondsBetweenRestarts()

getNumberOfRestartAttempts

int getNumberOfRestartAttempts()

Specifies the number of restart attempts before migrating a failed JMS artifact instance to another server in the WebLogic cluster.


setNumberOfRestartAttempts

void setNumberOfRestartAttempts(int restartAttempts)
Sets the value of the NumberOfRestartAttempts attribute.
Parameters:
restartAttempts -
See Also:
DynamicDeploymentMBean.getNumberOfRestartAttempts()

getInitialBootDelaySeconds

long getInitialBootDelaySeconds()

Specifies the amount of time, in seconds, to delay before starting a cluster targeted JMS instance on a newly booted WebLogic server. When this setting is configured on a Store it applies to all JMS artifacts that reference the store.

This allows time for the system to stabilize and dependent services to be restarted, preventing a system failure during a reboot.

Note: This setting only applies when the JMS artifact is cluster targeted and the Migration Policy is set to On-Failure or Always>.
See Also:
#PartialClusterStabilityDelaySeconds

setInitialBootDelaySeconds

void setInitialBootDelaySeconds(long initialBootDelaySeconds)
Sets the value of the initialBootDelaySeconds attribute.
Parameters:
initialBootDelaySeconds -
See Also:
DynamicDeploymentMBean.getInitialBootDelaySeconds()

getPartialClusterStabilityDelaySeconds

long getPartialClusterStabilityDelaySeconds()

Specifies the amount of time, in seconds, to delay before a partially started cluster starts all cluster targeted JMS artifact instances that are configured with a Migration Policy of Always or On-Failure.

Before this timeout expires or all servers are running, a cluster starts a subset of such instances based on the total number of servers running and the configured cluster size. Once the timeout expires or all servers have started, the system considers the cluster stable and starts any remaining services.

This delay ensures that services are balanced across a cluster even if the servers are started sequentially. It is ignored once a cluster is fully started (stable) or when individual servers are started.

See Also:
DynamicDeploymentMBean.getInitialBootDelaySeconds()

setPartialClusterStabilityDelaySeconds

void setPartialClusterStabilityDelaySeconds(long partialClusterStabilityDelaySeconds)
Sets the value of the steadyStateStime attribute.
Parameters:
partialClusterStabilityDelaySeconds -
See Also:
DynamicDeploymentMBean.getPartialClusterStabilityDelaySeconds()

getFailbackDelaySeconds

long getFailbackDelaySeconds()

Specifies the amount of time, in seconds, to delay before failing a cluster targeted JMS artifact instance back to its preferred server after the preferred server failed and was restarted.

This delay allows time for the system to stabilize and dependent services to be restarted, preventing a system failure during a reboot.

Note: This setting only applies when the JMS artifact is cluster targeted and the Migration Policy is set to On-Failure or Always>.

setFailbackDelaySeconds

void setFailbackDelaySeconds(long failbackDelaySeconds)
Sets the value of the failbackDelaySeconds attribute.
Parameters:
failbackDelaySeconds -
See Also:
DynamicDeploymentMBean.getFailbackDelaySeconds()

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