ConfigurationMBean
, DescriptorBean
, javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, SettableBean
, WebLogicMBean
public interface LifecycleManagerConfigMBean extends ConfigurationMBean
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
DEPLOYMENT_TYPE_ADMIN |
Specifies that the LifecycleManager will be targeted and available
on the admin server of this domain.
|
static java.lang.String |
DEPLOYMENT_TYPE_HA |
Specifies that the LifecycleManager will be targeted and available
on a cluster in this domain, identified by the Target attribute.
|
static java.lang.String |
DEPLOYMENT_TYPE_NONE |
Specifies that the LifecycleManager services will be not be started as
part of this domain.
|
static java.lang.String |
PERSISTENCE_TYPE_DB |
Specifies that the LifecycleManager will persist its configuration in
a database, and will use the DataSource specified in the DataSourceName
attribute to interact with this database.
|
static java.lang.String |
PERSISTENCE_TYPE_XML |
Specifies that the LifecycleManager persist its configuration in a
single local XML file.
|
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method | Description |
---|---|---|
LifecycleManagerEndPointMBean |
createConfiguredEndPoint(java.lang.String name) |
Factory for creating a new LifecycleManager endpoint configuration.
|
void |
destroyConfiguredEndPoint(LifecycleManagerEndPointMBean endpoint) |
Deletes a LifecycleManager endpoint.
|
long |
getConfigFileLockTimeout() |
Returns the Lifecycle configuration lock timeout.
|
LifecycleManagerEndPointMBean[] |
getConfiguredEndPoints() |
Returns the LifecycleManager endpoints that have been configured
as involved with this domain.
|
java.lang.String |
getDataSourceName() |
Returns the name of the DataSource that should be used when
LifecycleManager is configured to maintain its configuration in a database.
|
java.lang.String |
getDeploymentType() |
The deployment model for LifecycleManager services in this domain.
|
LifecycleManagerEndPointMBean[] |
getEndPoints() |
Returns the REST endpoints for each LifecycleManager that is
participating in the management of this domain.
|
int |
getPeriodicSyncInterval() |
Get periodic interval for lifecycle configuration synchronization in hours.
|
java.lang.String |
getPersistenceType() |
The persistence model that is used by this LifecycleManager service.
|
long |
getPropagationActivateTimeout() |
Returns the activation timeout in milliseconds for Lifecycle configuration propagation to managed server.
|
long |
getServerReadyTimeout() |
The timeout in milliseconds for waiting for a server
to be ready to receive requests.
|
long |
getServerRuntimeTimeout() |
Returns the timeout in milliseconds for accessing server runtime mbeans.
|
TargetMBean |
getTarget() |
The cluster target defined in the current domain that should host the
LifecycleManager service when running deployed in Cluster mode.
|
boolean |
isEnabled() |
Determine if LifeycleManager features are available, either locally on
this admin server or remotely via a configured endpoint.
|
boolean |
isOutOfBandEnabled() |
Determine if LifecycleManager should listen for configuration changes on this
server.
|
LifecycleManagerEndPointMBean |
lookupConfiguredEndPoint(java.lang.String name) |
Lookup a LifecycleManager EndPoint configuration by name.
|
void |
setConfigFileLockTimeout(long timeInMillis) |
Specify Lifecycle configuration lock timeout.
|
void |
setDataSourceName(java.lang.String name) |
Changes the name of the DataSource to be used when LifecycleManager is
configured to maintain its configuration in a database.
|
void |
setDeploymentType(java.lang.String type) |
Specifies the deployment model for LifecycleManager services in this domain.
|
void |
setOutOfBandEnabled(boolean value) |
Specify that LifecycleManager should listen for configuration changes on this
server.
|
void |
setPeriodicSyncInterval(int numberOfHours) |
Specify the periodic interval in hours after which Lifecycle Manager will synchronize its configuration.
|
void |
setPersistenceType(java.lang.String type) |
Specifies the persistence model for LifecycleManager services in this
domain.
|
void |
setPropagationActivateTimeout(long timeInMillis) |
Activation timeout for Lifecycle configuration propagation to managed server in milliseconds
.
|
void |
setServerReadyTimeout(long timeInMillis) |
The timeout in milliseconds for waiting for a server
to be ready to receive requests.
|
void |
setServerRuntimeTimeout(long timeInMillis) |
Server runtime mbeans access timeout in milliseconds
.
|
void |
setTarget(TargetMBean Target) |
Change the cluster target the value for the
getTarget attribute. |
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
static final java.lang.String DEPLOYMENT_TYPE_NONE
Specifies that the LifecycleManager services will be not be started as part of this domain.
static final java.lang.String DEPLOYMENT_TYPE_ADMIN
Specifies that the LifecycleManager will be targeted and available on the admin server of this domain.
static final java.lang.String DEPLOYMENT_TYPE_HA
Specifies that the LifecycleManager will be targeted and available on a cluster in this domain, identified by the Target attribute.
static final java.lang.String PERSISTENCE_TYPE_XML
Specifies that the LifecycleManager persist its configuration in a single local XML file.
static final java.lang.String PERSISTENCE_TYPE_DB
Specifies that the LifecycleManager will persist its configuration in a database, and will use the DataSource specified in the DataSourceName attribute to interact with this database.
java.lang.String getDeploymentType()
The deployment model for LifecycleManager services in this domain.
void setDeploymentType(java.lang.String type)
Specifies the deployment model for LifecycleManager services in this domain.
getDeploymentType()
TargetMBean getTarget()
The cluster target defined in the current domain that should host the LifecycleManager service when running deployed in Cluster mode.
void setTarget(TargetMBean Target) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Change the cluster target the value for the getTarget
attribute.
javax.management.InvalidAttributeValueException
DistributedManagementException
getTarget()
java.lang.String getPersistenceType()
The persistence model that is used by this LifecycleManager service. Either database or a local XML file may be used for an admin server deployment, but a database configuration model is required for a cluster deployment.
void setPersistenceType(java.lang.String type)
Specifies the persistence model for LifecycleManager services in this domain.
getPersistenceType()
java.lang.String getDataSourceName()
Returns the name of the DataSource that should be used when LifecycleManager is configured to maintain its configuration in a database.
void setDataSourceName(java.lang.String name)
Changes the name of the DataSource to be used when LifecycleManager is configured to maintain its configuration in a database.
name
- getDataSourceName()
LifecycleManagerEndPointMBean[] getEndPoints()
Returns the REST endpoints for each LifecycleManager that is participating in the management of this domain.
LifecycleManagerEndPointMBean[] getConfiguredEndPoints()
Returns the LifecycleManager endpoints that have been configured as involved with this domain.
LifecycleManagerEndPointMBean lookupConfiguredEndPoint(java.lang.String name)
Lookup a LifecycleManager EndPoint configuration by name.
name
- The name of the LifecycleManager endpoint configurationLifecycleManagerEndPointMBean createConfiguredEndPoint(java.lang.String name)
Factory for creating a new LifecycleManager endpoint configuration.
name
- The name of the LifecycleManager endpoint configurationvoid destroyConfiguredEndPoint(LifecycleManagerEndPointMBean endpoint)
Deletes a LifecycleManager endpoint.
endpoint
- to removeboolean isEnabled()
Determine if LifeycleManager features are available, either locally on this admin server or remotely via a configured endpoint.
boolean isOutOfBandEnabled()
Determine if LifecycleManager should listen for configuration changes on this server.
void setOutOfBandEnabled(boolean value)
Specify that LifecycleManager should listen for configuration changes on this server.
int getPeriodicSyncInterval()
Get periodic interval for lifecycle configuration synchronization in hours. When synchronizing configuration, Lifecycle contacts the different runtimes that are registered with it, gets the list of partitions from those runtimes, and ensure that its configuration is synchronized with those runtimes.
void setPeriodicSyncInterval(int numberOfHours)
Specify the periodic interval in hours after which Lifecycle Manager will synchronize its configuration. When synchronizing configuration, Lifecycle contacts the different runtimes that are registered with it, gets the list of partitions from those runtimes, and ensure that its configuration is synchronized with those runtimes.
numberOfHours
- number of hours after which periodic sync will be attempted. Specify a value
of 0 or less to disable periodic synchronization.getPeriodicSyncInterval()
long getConfigFileLockTimeout()
Returns the Lifecycle configuration lock timeout. This is used when the persistence type is LifecycleManagerConfigMBean.PERSISTENCE_TYPE_XML, while attempting to lock the configuration file to persist configuration changes.
void setConfigFileLockTimeout(long timeInMillis)
Specify Lifecycle configuration lock timeout. This is used when the persistence type is LifecycleManagerConfigMBean.PERSISTENCE_TYPE_XML, while attempting to lock the configuration file to persist configuration changes. .
timeInMillis
- time in milliseconds, for config file lock timeoutgetConfigFileLockTimeout()
long getPropagationActivateTimeout()
Returns the activation timeout in milliseconds for Lifecycle configuration propagation to managed server.
void setPropagationActivateTimeout(long timeInMillis)
Activation timeout for Lifecycle configuration propagation to managed server in milliseconds .
timeInMillis
- propagation activation timeout in millisecondsgetPropagationActivateTimeout()
long getServerRuntimeTimeout()
Returns the timeout in milliseconds for accessing server runtime mbeans.
void setServerRuntimeTimeout(long timeInMillis)
Server runtime mbeans access timeout in milliseconds .
timeInMillis
- timeout in millisecondsgetServerRuntimeTimeout()
long getServerReadyTimeout()
The timeout in milliseconds for waiting for a server to be ready to receive requests.
void setServerReadyTimeout(long timeInMillis)
The timeout in milliseconds for waiting for a server to be ready to receive requests.
timeInMillis
- timeout in millisecondsgetServerReadyTimeout()