ConfigurationMBean
, DeploymentMBean
, DescriptorBean
, DynamicDeploymentMBean
, javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, SettableBean
, WebLogicMBean
FileStoreMBean
, JDBCStoreMBean
, ReplicatedStoreMBean
, TransactionLogJDBCStoreMBean
, weblogic.management.configuration.TransactionLogStoreMBean
public interface PersistentStoreMBean extends DynamicDeploymentMBean
This MBean is the parent of the GenericFileStoreMBean and GenericJDBCStoreMBean. It is not intended for deployment.
DEFAULT_EMPTY_BYTE_ARRAY
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
Modifier and Type | Method | Description |
---|---|---|
boolean |
addTarget(TargetMBean target) |
Targets a server instance to a store.
|
java.lang.String |
getLogicalName() |
The name used by subsystems to refer to different stores on
different servers using the same name.
|
TargetMBean[] |
getTargets() |
The server instances, clusters, or migratable targets defined in the current domain that are
candidates for hosting a file store, JDBC store, or replicated store.
|
java.lang.String |
getXAResourceName() |
Overrides the name of the XAResource that this store registers
with JTA.
|
boolean |
removeTarget(TargetMBean target) |
Untargets a server instance from a store.
|
void |
setLogicalName(java.lang.String name) |
Sets the value for the
LogicalName attribute. |
void |
setTargets(TargetMBean[] Targets) |
Sets the value for the
getTargets attribute. |
void |
setXAResourceName(java.lang.String name) |
Sets the value for the
XAResourceName
attribute. |
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
getDeploymentOrder, setDeploymentOrder
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getDistributionPolicy, getFailbackDelaySeconds, getFailOverLimit, getInitialBootDelaySeconds, getMigrationPolicy, getNumberOfRestartAttempts, getPartialClusterStabilityDelaySeconds, getRebalanceEnabled, getRestartInPlace, getSecondsBetweenRestarts, setDistributionPolicy, setFailbackDelaySeconds, setFailOverLimit, setInitialBootDelaySeconds, setMigrationPolicy, setNumberOfRestartAttempts, setPartialClusterStabilityDelaySeconds, setRebalanceEnabled, setRestartInPlace, setSecondsBetweenRestarts
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
TargetMBean[] getTargets()
The server instances, clusters, or migratable targets defined in the current domain that are candidates for hosting a file store, JDBC store, or replicated store. If scoped to a Resource Group or Resource Group Template, the target is inherited from the Virtual Target.
When selecting a cluster, the store must be targeted to the same cluster as the JMS server. When selecting a migratable target, the store must be targeted it to the same migratable target as the migratable JMS server or SAF agent. As a best practice, a path service should use its own custom store and share the same target as the store.
getTargets
in interface DeploymentMBean
void setTargets(TargetMBean[] Targets) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value for the getTargets
attribute.
setTargets
in interface DeploymentMBean
Targets
- The new targets valuejavax.management.InvalidAttributeValueException
DistributedManagementException
getTargets()
boolean addTarget(TargetMBean target) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Targets a server instance to a store.
addTarget
in interface DeploymentMBean
target
- javax.management.InvalidAttributeValueException
DistributedManagementException
boolean removeTarget(TargetMBean target) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Untargets a server instance from a store.
removeTarget
in interface DeploymentMBean
target
- javax.management.InvalidAttributeValueException
DistributedManagementException
DeploymentMBean.addTarget(weblogic.management.configuration.TargetMBean)
java.lang.String getLogicalName()
The name used by subsystems to refer to different stores on different servers using the same name.
For example, an EJB that uses the timer service may refer to its store using the logical name, and this name may be valid on multiple servers in the same cluster, even if each server has a store with a different physical name.
Multiple stores in the same domain or the same cluster may share the same logical name. However, a given logical name may not be assigned to more than one store on the same server.
void setLogicalName(java.lang.String name) throws javax.management.InvalidAttributeValueException
Sets the value for the LogicalName
attribute.
javax.management.InvalidAttributeValueException
getLogicalName()
java.lang.String getXAResourceName()
Overrides the name of the XAResource that this store registers with JTA.
You should not normally set this attribute. Its purpose is to allow the name of the XAResource to be overridden when a store has been upgraded from an older release and the store contained prepared transactions. The generated name should be used in all other cases.
void setXAResourceName(java.lang.String name) throws javax.management.InvalidAttributeValueException
Sets the value for the XAResourceName
attribute.
javax.management.InvalidAttributeValueException
getXAResourceName()