BEA Systems, Inc.

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

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.configuration
Interface JMSDistributedQueueMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, JMSConstants, JMSDistributedDestinationMBean, JMSVirtualDestinationMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean

Deprecated. 9.0.0.0 Replaced by DistributedQueueBean

public interface JMSDistributedQueueMBean
extends JMSDistributedDestinationMBean

This class represents a JMS distributed queue, which is comprised of multiple physical JMS queues as members of a single distributed set of queues that can be served by multiple WebLogic Server instances within a cluster.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.

Since:
7.0.0.0
See Also:
weblogic.j2ee.descriptor.wl.UniformDistributedQueueBean}
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
 
Fields inherited from interface weblogic.management.configuration.JMSConstants
ACKNOWLEDGE_ALL, ACKNOWLEDGE_MODE_AUTO, ACKNOWLEDGE_MODE_CLIENT, ACKNOWLEDGE_MODE_DUPS_OK, ACKNOWLEDGE_MODE_NONE, ACKNOWLEDGE_ONE, ACKNOWLEDGE_PREVIOUS, ALWAYSFORWARD, AT_LEAST_ONCE, AT_MOST_ONCE, AUTH_PRINS, CONSUMPTION_ENABLED, CONSUMPTION_PAUSED, CONSUMPTION_PAUSING, DEFAULT_MESSAGE_BUFFER_SIZE, DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_TOPIC, DISCARD, ENABLED_DEFAULT, ENABLED_FALSE, ENABLED_TRUE, ERRORDESTINATION, EXACTLY_ONCE, EXPORT_TO_ALL, EXPORT_TO_NONE, FIFO, INITIALCONTEXTFACTORY, INSERTION_ENABLED, INSERTION_PAUSED, INSERTION_PAUSING, KEEP_NEW, KEEP_OLD, KEY_DIRECTION_ASCENDING, KEY_DIRECTION_DESCENDING, KEY_TYPE_BOOLEAN, KEY_TYPE_BYTE, KEY_TYPE_DOUBLE, KEY_TYPE_FLOAT, KEY_TYPE_INT, KEY_TYPE_LONG, KEY_TYPE_SHORT, KEY_TYPE_STRING, LOGGING, NEVER, NO_DELIVERY, NON_PERSISTENT, NON_XML, PAUSED_AT_STARTUP_DEFAULT, PAUSED_AT_STARTUP_FALSE, PAUSED_AT_STARTUP_TRUE, PERSISTENT, PREEMPTIVE, PRIORITY_DEFAULT, PRIORITY_MAXIMUM, PRIORITY_MINIMUM, PRODUCTION_ENABLED, PRODUCTION_PAUSED, PRODUCTION_PAUSING, RANDOM, ROUND_ROBIN, SEND_QUOTA_BLOCKING_TIMEOUT, STORE_ENABLED_DEFAULT, STORE_ENABLED_FALSE, STORE_ENABLED_TRUE, STORE_TYPE_FILE, STORE_TYPE_JDBC, SUPPORTS, SYNCWRITE_CACHEFLUSH, SYNCWRITE_DIRECTWRITE, SYNCWRITE_DISABLED, TRANSACTION_MODE_51, TRANSACTION_MODE_NONE, TRANSACTION_MODE_XA, UNITOFORDER_STANDARD, UNITOFORDER_SYSTEM, XML, XMLALL
 
Method Summary
 boolean addMember(JMSDistributedQueueMemberMBean Member)
          Deprecated. Add a member to this distributed queue.
 JMSDistributedQueueMemberMBean createJMSDistributedQueueMember(String name)
          Deprecated. Create a new diagnostic deployment that can be targeted to a server
 void destroyJMSDistributedQueueMember(JMSDistributedQueueMemberMBean member)
          Deprecated. Delete a diagnostic deployment configuration from the domain.
 void destroyJMSDistributedQueueMember(String name, JMSDistributedQueueMemberMBean member)
          Deprecated. This method is to support removeMember() which is relic of old mbean infrastructure
 int getForwardDelay()
          Deprecated. The amount of time (in seconds) that a distributed queue member with messages, but no consumers, will wait before forwarding its messages to other queue members that do have consumers.
 JMSDistributedQueueMemberMBean[] getJMSDistributedQueueMembers()
          Deprecated. Get all the Members
 JMSDistributedQueueMemberMBean[] getMembers()
          Deprecated. All the members for this distributed queue.
 boolean removeMember(JMSDistributedQueueMemberMBean member)
          Deprecated. Remove a member from this distributed queue.
 void setForwardDelay(int forwardDelay)
          Deprecated. Sets the value of the ForwardDelay attribute.
 void setMembers(JMSDistributedQueueMemberMBean[] members)
          Deprecated. Sets the value of the Members attribute.
 
Methods inherited from interface weblogic.management.configuration.JMSDistributedDestinationMBean
getLoadBalancingPolicy, getTemplate, setLoadBalancingPolicy, setTemplate
 
Methods inherited from interface weblogic.management.configuration.JMSVirtualDestinationMBean
getJNDIName, setJNDIName
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
 
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

addMember

public boolean addMember(JMSDistributedQueueMemberMBean Member)
                  throws InvalidAttributeValueException,
                         weblogic.management.DistributedManagementException
Deprecated. 

Add a member to this distributed queue.

Parameters:
Member - The feature to be added to the Member attribute
Returns:
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
A dynamic MBean attribute.
true

createJMSDistributedQueueMember

public JMSDistributedQueueMemberMBean createJMSDistributedQueueMember(String name)
Deprecated. 

Create a new diagnostic deployment that can be targeted to a server

Parameters:
name -

destroyJMSDistributedQueueMember

public void destroyJMSDistributedQueueMember(JMSDistributedQueueMemberMBean member)
Deprecated. 

Delete a diagnostic deployment configuration from the domain.

Parameters:
member -

destroyJMSDistributedQueueMember

public void destroyJMSDistributedQueueMember(String name,
                                             JMSDistributedQueueMemberMBean member)
Deprecated. 
This method is to support removeMember() which is relic of old mbean infrastructure

Parameters:
name - name
member - JMSDistributedQueueMember

getForwardDelay

public int getForwardDelay()
Deprecated. 

The amount of time (in seconds) that a distributed queue member with messages, but no consumers, will wait before forwarding its messages to other queue members that do have consumers. A value of -1 (the default) indicates that no messages are forwarded to other queue members.

A value of -1 indicates that no messages are forwarded to other queue members.

Returns:
The forwardDelay value

getJMSDistributedQueueMembers

public JMSDistributedQueueMemberMBean[] getJMSDistributedQueueMembers()
Deprecated. 
Get all the Members


getMembers

public JMSDistributedQueueMemberMBean[] getMembers()
Deprecated. 

All the members for this distributed queue.

Returns:
The members value

removeMember

public boolean removeMember(JMSDistributedQueueMemberMBean member)
                     throws InvalidAttributeValueException,
                            weblogic.management.DistributedManagementException
Deprecated. 

Remove a member from this distributed queue.

Parameters:
member - the JMSDistributedQueueMember to remove from the distributed queue
Returns:
Throws:
InvalidAttributeValueException
weblogic.management.DistributedManagementException
IllegalArgumentException - if the specified member is not a member of this distributed queue
A dynamic MBean attribute.
true

setForwardDelay

public void setForwardDelay(int forwardDelay)
                     throws InvalidAttributeValueException
Deprecated. 

Sets the value of the ForwardDelay attribute.

Parameters:
forwardDelay - The new forwardDelay value
Throws:
InvalidAttributeValueException
See Also:
getForwardDelay()
Default value:
-1
A dynamic MBean attribute.
true

setMembers

public void setMembers(JMSDistributedQueueMemberMBean[] members)
                throws InvalidAttributeValueException
Deprecated. 

Sets the value of the Members attribute.

Parameters:
members - the JMSDistributedQueueMembers for the distributed queue
Throws:
InvalidAttributeValueException
See Also:
getMembers()
A dynamic MBean attribute.
true

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