BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)


weblogic.management.configuration
Interface PersistentStoreMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, WebLogicMBean

public interface PersistentStoreMBean
extends DeploymentMBean

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

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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 instance that is targetted to a 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, getName, getNotes, 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
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
 

Method Detail

addTarget

public 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:
Throws:
DistributedManagementException
InvalidAttributeValueException
A dynamic MBean attribute.

getLogicalName

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


getTargets

public TargetMBean[] getTargets()
The server instance that is targetted to a store.

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

getXAResourceName

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


removeTarget

public boolean removeTarget(TargetMBean target)
                     throws InvalidAttributeValueException,
                            DistributedManagementException

Untargets a server instance from a store.

Specified by:
removeTarget in interface DeploymentMBean
Parameters:
target -
Returns:
Throws:
DistributedManagementException
InvalidAttributeValueException
See Also:
DeploymentMBean.addTarget(weblogic.management.configuration.TargetMBean)
A dynamic MBean attribute.

setLogicalName

public void setLogicalName(String name)
                    throws InvalidAttributeValueException

Sets the value for the LogicalName attribute.

Throws:
InvalidAttributeValueException
See Also:
getLogicalName()
Default value:
null
Legal null:
true
A dynamic MBean attribute.

setTargets

public 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:
getTargets()
A dynamic MBean attribute.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.