Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
12c Release 1 (12.1.1)

Part Number E24395-02

weblogic.management.configuration
Interface JMSTemplateMBean

All Superinterfaces:
ConfigurationMBean, JMSConstants, JMSDestCommonMBean

Deprecated. 9.0.0.0 Replaced by weblogic.j2ee.descriptor.wl.TemplateBean

public interface JMSTemplateMBean
extends JMSDestCommonMBean, ConfigurationMBean, JMSConstants

This class represents a JMS template, which provides an efficient means of defining multiple destinations (queues and topics) with similar attribute settings.

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

Access limited to the following security roles:
Deployer

Field Summary
 
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, CLIENT_ID_POLICY_RESTRICTED, CLIENT_ID_POLICY_UNRESTRICTED, CONSUMPTION_ENABLED, CONSUMPTION_PAUSED, CONSUMPTION_PAUSING, DEFAULT_MESSAGE_BUFFER_SIZE, DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_TOPIC, DISABLED, DISCARD, ENABLED, ENABLED_DEFAULT, ENABLED_FALSE, ENABLED_TRUE, ERRORDESTINATION, EXACTLY_ONCE, EXPORT_TO_ALL, EXPORT_TO_NONE, FIFO, FORWARDING_POLICY_PARTITIONED, FORWARDING_POLICY_REPLICATED, 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, PASS_THROUGH, 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, SINGLE_MESSAGE, STORE_ENABLED_DEFAULT, STORE_ENABLED_FALSE, STORE_ENABLED_TRUE, STORE_TYPE_FILE, STORE_TYPE_JDBC, SUBSCRIPTION_EXCLUSIVE, SUBSCRIPTION_SHARABLE, SUPPORTS, SYNCWRITE_CACHEFLUSH, SYNCWRITE_DIRECTWRITE, SYNCWRITE_DISABLED, TOPIC_ONLY, TOPIC_SUBSCRIBER_ONLY, TRANSACTION_MODE_51, TRANSACTION_MODE_NONE, TRANSACTION_MODE_XA, UNITOFORDER_STANDARD, UNITOFORDER_SYSTEM, XML, XMLALL
 
Method Summary
 boolean addDestination(JMSDestinationMBean destination)
          Deprecated. Adds a destination to the JMS template.
 JMSDestinationMBean[] getDestinations()
          Deprecated. Returns a read-only array of the destinations for the JMS template.
 boolean isBytesPagingEnabled()
          Deprecated. 9.0.0.0 Replaced by weblogic.management.configuration.JMSServerMBean#MessageBufferSize
 boolean isMessagesPagingEnabled()
          Deprecated. 9.0.0.0 Replaced by weblogic.management.configuration.JMSServerMBean#MessageBufferSize
 boolean removeDestination(JMSDestinationMBean destination)
          Deprecated. Removes a destination from the JMS template.
 void setBytesPagingEnabled(boolean enabled)
          Deprecated. 9.0.0.0 Replaced by weblogic.management.configuration.JMSServerMBean#MessageBufferSize
 void setMessagesPagingEnabled(boolean enabled)
          Deprecated. 9.0.0.0 Replaced by weblogic.management.configuration.JMSServerMBean#MessageBufferSize
 
Methods inherited from interface weblogic.management.configuration.JMSDestCommonMBean
addDestinationKey, getBytesMaximum, getBytesThresholdHigh, getBytesThresholdLow, getDeliveryModeOverride, getDestinationKeys, getErrorDestination, getExpirationLoggingPolicy, getExpirationPolicy, getMaximumMessageSize, getMessagesMaximum, getMessagesThresholdHigh, getMessagesThresholdLow, getPriorityOverride, getRedeliveryDelayOverride, getRedeliveryLimit, getTimeToDeliverOverride, getTimeToLiveOverride, removeDestinationKey, setBytesMaximum, setBytesThresholdHigh, setBytesThresholdLow, setCreationTime, setDeliveryModeOverride, setDestinationKeys, setErrorDestination, setExpirationLoggingPolicy, setExpirationPolicy, setMaximumMessageSize, setMessagesMaximum, setMessagesThresholdHigh, setMessagesThresholdLow, setPriorityOverride, setRedeliveryDelayOverride, setRedeliveryLimit, setTimeToDeliverOverride, setTimeToLiveOverride
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 

Method Detail

getDestinations

JMSDestinationMBean[] getDestinations()
Deprecated. 

Returns a read-only array of the destinations for the JMS template.

Returns:
The destinations value

addDestination

boolean addDestination(JMSDestinationMBean destination)
                       throws InvalidAttributeValueException,
                              DistributedManagementException
Deprecated. 

Adds a destination to the JMS template.

Parameters:
destination - a reference to JMSDestinationMBean
Returns:
Throws:
InvalidAttributeValueException
DistributedManagementException

removeDestination

boolean removeDestination(JMSDestinationMBean destination)
                          throws InvalidAttributeValueException,
                                 DistributedManagementException
Deprecated. 

Removes a destination from the JMS template.

Parameters:
destination - a reference to JMSDestinationMBean
Returns:
Throws:
InvalidAttributeValueException
DistributedManagementException

isMessagesPagingEnabled

boolean isMessagesPagingEnabled()
Deprecated. 9.0.0.0 Replaced by weblogic.management.configuration.JMSServerMBean#MessageBufferSize

This parameter has been deprecated. Paging is always enabled. The "MessageBufferSize" parameter on JMSServerMBean controls how much memory is used before paging kicks in.


setMessagesPagingEnabled

void setMessagesPagingEnabled(boolean enabled)
                              throws InvalidAttributeValueException
Deprecated. 9.0.0.0 Replaced by weblogic.management.configuration.JMSServerMBean#MessageBufferSize

Sets the value of the MessagesPagingEnabled attribute.

Parameters:
enabled - The new MessagesPagingEnabled value
Throws:
InvalidAttributeValueException
See Also:
JMSTemplateMBean.isMessagesPagingEnabled()
Default Value:
false

isBytesPagingEnabled

boolean isBytesPagingEnabled()
Deprecated. 9.0.0.0 Replaced by weblogic.management.configuration.JMSServerMBean#MessageBufferSize

This parameter has been deprecated. Paging is always enabled. The "MessageBufferSize" parameter on JMSServerMBean controls how much memory is used before paging kicks in.


setBytesPagingEnabled

void setBytesPagingEnabled(boolean enabled)
                           throws InvalidAttributeValueException
Deprecated. 9.0.0.0 Replaced by weblogic.management.configuration.JMSServerMBean#MessageBufferSize

Sets the value of the BytesPagingEnabled attribute.

Parameters:
enabled - The new BytesPagingEnabled value
Throws:
InvalidAttributeValueException
See Also:
JMSTemplateMBean.isBytesPagingEnabled()
Default Value:
false

Copyright 1996, 2011, 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
Oracle WebLogic Server MBean Javadoc
12c Release 1 (12.1.1)

Part Number E24395-02