BEA Systems, Inc.

WebLogic Server 6.0sp2 API Reference

weblogic.management.configuration
Interface JMSTopicMBean


public interface JMSTopicMBean
extends JMSDestinationMBean

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Fields inherited from class weblogic.management.configuration.JMSConstants
ACKNOWLEDGE_MODE_AUTO, ACKNOWLEDGE_MODE_CLIENT, ACKNOWLEDGE_MODE_DUPS_OK, ACKNOWLEDGE_MODE_NONE, DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_TOPIC, 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, NO_DELIVERY, NON_PERSISTENT, PERSISTENT, PRIORITY_DEFAULT, PRIORITY_MAXIMUM, PRIORITY_MINIMUM, STORE_ENABLED_DEFAULT, STORE_ENABLED_FALSE, STORE_ENABLED_TRUE, STORE_TYPE_FILE, STORE_TYPE_JDBC, TRANSACTION_MODE_51, TRANSACTION_MODE_NONE, TRANSACTION_MODE_XA
 
Fields inherited from class weblogic.management.configuration.JMSConstants
ACKNOWLEDGE_MODE_AUTO, ACKNOWLEDGE_MODE_CLIENT, ACKNOWLEDGE_MODE_DUPS_OK, ACKNOWLEDGE_MODE_NONE, DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_TOPIC, 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, NO_DELIVERY, NON_PERSISTENT, PERSISTENT, PRIORITY_DEFAULT, PRIORITY_MAXIMUM, PRIORITY_MINIMUM, STORE_ENABLED_DEFAULT, STORE_ENABLED_FALSE, STORE_ENABLED_TRUE, STORE_TYPE_FILE, STORE_TYPE_JDBC, TRANSACTION_MODE_51, TRANSACTION_MODE_NONE, TRANSACTION_MODE_XA
 
Method Summary
 java.lang.String getMulticastAddress()
          The multicast address used by the destination
 int getMulticastPort()
          The multicast port
 int getMulticastTTL()
          Returns the number of network hops that a multicast message is allowed to travel.
 void setMulticastAddress(java.lang.String address)
          Sets the multicast address used by the destination
 void setMulticastPort(int port)
          Set the multicast port for the destination.
 void setMulticastTTL(int ttl)
          Sets the time-to-live value for the multicast message.
 
Methods inherited from interface weblogic.management.configuration.JMSDestinationMBean
getJNDIName, getStoreEnabled, getTemplate, setJNDIName, setStoreEnabled, setTemplate
 
Methods inherited from interface weblogic.management.configuration.JMSTemplateMBean
addDestination, addDestinationKey, getBytesMaximum, getBytesThresholdHigh, getBytesThresholdLow, getDeliveryModeOverride, getDestinationKeys, getDestinations, getMessagesMaximum, getMessagesThresholdHigh, getMessagesThresholdLow, getPriorityOverride, getTimeToLiveOverride, removeDestination, removeDestinationKey, setBytesMaximum, setBytesThresholdHigh, setBytesThresholdLow, setDeliveryModeOverride, setDestinationKeys, setMessagesMaximum, setMessagesThresholdHigh, setMessagesThresholdLow, setPriorityOverride, setTimeToLiveOverride
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
getNotes, setNotes
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, 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
 

Method Detail

getMulticastAddress

public java.lang.String getMulticastAddress()
The multicast address used by the destination

A configurable MBean attribute

setMulticastAddress

public void setMulticastAddress(java.lang.String address)
                         throws javax.management.InvalidAttributeValueException
Sets the multicast address used by the destination

Legal Value: (value != void) && (value.trim().length() > 0)
Legal NULL: false
Throws:
java.lang.IllegalArgumentException - if the argument is not a well-formed IP address.

getMulticastTTL

public int getMulticastTTL()
Returns the number of network hops that a multicast message is allowed to travel. 1 restricts the message to one subnet. The minimum value is 1 and the maximum value is 255, inclusive.

A configurable MBean attribute
Default Value: 1
Legal Minimum Value: 1
Legal Maximum Value: 255

setMulticastTTL

public void setMulticastTTL(int ttl)
                     throws javax.management.InvalidAttributeValueException
Sets the time-to-live value for the multicast message.

Legal Minimum Value: 1
Legal Maximum Value: 255

getMulticastPort

public int getMulticastPort()
The multicast port

A configurable MBean attribute
Default Value: 6001

setMulticastPort

public void setMulticastPort(int port)
                      throws javax.management.InvalidAttributeValueException
Set the multicast port for the destination.

Legal Minimum Value: 1
Legal Maximum Value: 65535

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs60