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 PersistentStoreMBean

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

public interface PersistentStoreMBean
extends DynamicDeploymentMBean

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

Since:
9.0.0.0

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  boolean addTarget(TargetMBean target)
          Targets a server instance to a store.
abstract  String getLogicalName()
          The name used by subsystems to refer to different stores on different servers using the same name.
abstract  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.
abstract  String getXAResourceName()
          Overrides the name of the XAResource that this store registers with JTA.
abstract  boolean removeTarget(TargetMBean target)
          Untargets a server instance from a store.
abstract  void setLogicalName(String name)
          Sets the value for the LogicalName attribute.
abstract  void setTargets(TargetMBean[] Targets)
          Sets the value for the getTargets attribute.
abstract  void setXAResourceName(String name)
          Sets the value for the XAResourceName attribute.

 

Methods inherited from interface weblogic.management.configuration.DynamicDeploymentMBean
getDistributionPolicy, getFailbackDelaySeconds, getInitialBootDelaySeconds, getMigrationPolicy, getNumberOfRestartAttempts, getPartialClusterStabilityDelaySeconds, getRestartInPlace, getSecondsBetweenRestarts, setDistributionPolicy, setFailbackDelaySeconds, setInitialBootDelaySeconds, setMigrationPolicy, setNumberOfRestartAttempts, setPartialClusterStabilityDelaySeconds, setRestartInPlace, setSecondsBetweenRestarts

 

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

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 -
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
Parameters:
target -
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()

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.


setXAResourceName

void setXAResourceName(String name)
                       throws InvalidAttributeValueException

Sets the value for the XAResourceName attribute.

Throws:
InvalidAttributeValueException
See Also:
PersistentStoreMBean.getXAResourceName()

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