|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)DistributedQueueBean
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.
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://edocs.bea.com.
weblogic.j2ee.descriptor.wl.UniformDistributedQueueBean}
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 |
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 |
public boolean addMember(JMSDistributedQueueMemberMBean Member) throws InvalidAttributeValueException, weblogic.management.DistributedManagementException
Add a member to this distributed queue.
Member
- The feature to be added to the Member attribute
InvalidAttributeValueException
weblogic.management.DistributedManagementException
public JMSDistributedQueueMemberMBean createJMSDistributedQueueMember(String name)
Create a new diagnostic deployment that can be targeted to a server
name
- public void destroyJMSDistributedQueueMember(JMSDistributedQueueMemberMBean member)
Delete a diagnostic deployment configuration from the domain.
member
- public void destroyJMSDistributedQueueMember(String name, JMSDistributedQueueMemberMBean member)
name
- namemember
- JMSDistributedQueueMemberpublic int getForwardDelay()
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.
public JMSDistributedQueueMemberMBean[] getJMSDistributedQueueMembers()
public JMSDistributedQueueMemberMBean[] getMembers()
All the members for this distributed queue.
public boolean removeMember(JMSDistributedQueueMemberMBean member) throws InvalidAttributeValueException, weblogic.management.DistributedManagementException
Remove a member from this distributed queue.
member
- the JMSDistributedQueueMember to remove from the distributed queue
InvalidAttributeValueException
weblogic.management.DistributedManagementException
IllegalArgumentException
- if the specified member is not a member of this distributed queuepublic void setForwardDelay(int forwardDelay) throws InvalidAttributeValueException
Sets the value of the ForwardDelay attribute.
forwardDelay
- The new forwardDelay value
InvalidAttributeValueException
getForwardDelay()
public void setMembers(JMSDistributedQueueMemberMBean[] members) throws InvalidAttributeValueException
Sets the value of the Members attribute.
members
- the JMSDistributedQueueMembers for the distributed queue
InvalidAttributeValueException
getMembers()
|
Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |