public interface PersistentStoreMBean extends DynamicDeploymentMBean
This MBean is the parent of the GenericFileStoreMBean and GenericJDBCStoreMBean. It is not intended for deployment.
DEFAULT_ORDER, MAX_ORDER, MIN_ORDERDEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method and Description |
|---|---|
boolean |
addTarget(TargetMBean target)
Targets a server instance to a store.
|
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.
|
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(String name)
Sets the value for the
LogicalName attribute. |
void |
setTargets(TargetMBean[] Targets)
Sets the value for the
getTargets attribute. |
void |
setXAResourceName(String name)
Sets the value for the
XAResourceName
attribute. |
getDistributionPolicy, getFailbackDelaySeconds, getInitialBootDelaySeconds, getMigrationPolicy, getNumberOfRestartAttempts, getPartialClusterStabilityDelaySeconds, getRestartInPlace, getSecondsBetweenRestarts, setDistributionPolicy, setFailbackDelaySeconds, setInitialBootDelaySeconds, setMigrationPolicy, setNumberOfRestartAttempts, setPartialClusterStabilityDelaySeconds, setRestartInPlace, setSecondsBetweenRestartsgetDeploymentOrder, setDeploymentOrderfreezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenerTargetMBean[] 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 DeploymentMBeanvoid setTargets(TargetMBean[] Targets) throws InvalidAttributeValueException, DistributedManagementException
Sets the value for the getTargets attribute.
setTargets in interface DeploymentMBeanTargets - The new targets valueInvalidAttributeValueExceptionDistributedManagementExceptionPersistentStoreMBean.getTargets()boolean addTarget(TargetMBean target) throws InvalidAttributeValueException, DistributedManagementException
Targets a server instance to a store.
addTarget in interface DeploymentMBeantarget - InvalidAttributeValueExceptionDistributedManagementExceptionboolean removeTarget(TargetMBean target) throws InvalidAttributeValueException, DistributedManagementException
Untargets a server instance from a store.
removeTarget in interface DeploymentMBeantarget - InvalidAttributeValueExceptionDistributedManagementExceptionDeploymentMBean.addTarget(weblogic.management.configuration.TargetMBean)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(String name) throws InvalidAttributeValueException
Sets the value for the LogicalName attribute.
InvalidAttributeValueExceptionPersistentStoreMBean.getLogicalName()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(String name) throws InvalidAttributeValueException
Sets the value for the XAResourceName
attribute.
InvalidAttributeValueExceptionPersistentStoreMBean.getXAResourceName()