Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.configuration
Interface PersistentStoreMBean

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

public interface PersistentStoreMBean
extends DeploymentMBean

This MBean is the parent of the GenericFileStoreMBean and GenericJDBCStoreMBean. It is not intended for deployment.


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
 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.
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
getDeploymentOrder, setDeploymentOrder
 
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

getTargets

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.

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 migratable target.

Specified by:
getTargets in interface DeploymentMBean
Returns:
The targets value

setTargets

void setTargets(TargetMBean[] Targets)
                throws InvalidAttributeValueException,
                       DistributedManagementException

Sets the value for the getTargets attribute.

Specified by:
setTargets in interface DeploymentMBean
Parameters:
Targets - The new targets value
Throws:
InvalidAttributeValueException
DistributedManagementException
See Also:
PersistentStoreMBean.getTargets()

addTarget

boolean addTarget(TargetMBean target)
                  throws InvalidAttributeValueException,
                         DistributedManagementException

Targets a server instance to a store.

Specified by:
addTarget in interface DeploymentMBean
Parameters:
target - The feature to be added to the Target attribute
Returns:
returns true if successful
Throws:
InvalidAttributeValueException
DistributedManagementException

removeTarget

boolean removeTarget(TargetMBean target)
                     throws InvalidAttributeValueException,
                            DistributedManagementException

Untargets a server instance from a store.

Specified by:
removeTarget in interface DeploymentMBean
Returns:
returns true if successful
Throws:
InvalidAttributeValueException
DistributedManagementException
See Also:
DeploymentMBean.addTarget(weblogic.management.configuration.TargetMBean)

getLogicalName

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.


setLogicalName

void setLogicalName(String name)
                    throws InvalidAttributeValueException

Sets the value for the LogicalName attribute.

Throws:
InvalidAttributeValueException
See Also:
PersistentStoreMBean.getLogicalName()
Default Value:
null

getXAResourceName

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.


Copyright 1996, 2014, 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.1.3)

Part Number E41849-02