|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This MBean defines a JMS Server.
Fields inherited from class weblogic.management.configuration.DeploymentMBean |
CACHING_STUB_SVUID,
DEFAULT_ORDER,
MAX_ORDER,
MIN_ORDER |
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID |
Method Summary | |
boolean |
addDestination(JMSDestinationMBean destination)
Add a JMS destination to the JMS server. |
boolean |
addSessionPool(JMSSessionPoolMBean sessionPool)
Add a session pool to the JMS server. |
long |
getBytesMaximum()
Returns the value of BytesMaximum. |
long |
getBytesThresholdHigh()
Returns the value of BytesThresholdHigh. |
long |
getBytesThresholdLow()
Returns the value of BytesThresholdLow |
JMSDestinationMBean[] |
getDestinations()
Return map containing all defined destinations and their associated JNDI names. |
long |
getMessagesMaximum()
Returns the value of MessagesMaximum. |
long |
getMessagesThresholdHigh()
Returns the value of MessagesThresholdHigh. |
long |
getMessagesThresholdLow()
Returns the value of MessagesThresholdLow |
JMSStoreMBean |
getPagingStore()
Get the paging store for the JMS server. |
JMSSessionPoolMBean[] |
getSessionPools()
Get all the session pools defined for the JMS server. |
JMSStoreMBean |
getStore()
Get the persistent store for the JMS server. |
JMSTemplateMBean |
getTemporaryTemplate()
Return the temporary template for the JMS server. |
boolean |
isBytesPagingEnabled()
Check if BytesPagingEnabled is set. |
boolean |
isMessagesPagingEnabled()
Check if MessagesPagingEnabled is set. |
boolean |
removeDestination(JMSDestinationMBean destination)
Removes a destination from the JNDI tree. |
boolean |
removeSessionPool(JMSSessionPoolMBean sessionPool)
Remove a session pool from the JMS server. |
void |
setBytesMaximum(long bytesMaximum)
Set the value of BytesMaximum. |
void |
setBytesPagingEnabled(boolean enabled)
Set BytesPagingEnabled for the JMS server. |
void |
setBytesThresholdHigh(long bytesThresholdHigh)
Set the value of BytesThresholdHigh. |
void |
setBytesThresholdLow(long bytesThresholdLow)
Set the value of BytesThresholdLow. |
void |
setDestinations(JMSDestinationMBean[] destinations)
Set all defined destinations for the JMS server. |
void |
setMessagesMaximum(long messagesMaximum)
Set the value of MessagesMaximum. |
void |
setMessagesPagingEnabled(boolean enabled)
Set MessagesPagingEnabled for the JMS server. |
void |
setMessagesThresholdHigh(long messagesThresholdHigh)
Set the value of MessagesThresholdHigh. |
void |
setMessagesThresholdLow(long messagesThresholdLow)
Set the value of MessagesThresholdLow. |
void |
setPagingStore(JMSStoreMBean store)
Set the paging store for the JMS server. |
void |
setSessionPools(JMSSessionPoolMBean[] sessionPools)
Set all the session pools defined for the JMS server. |
void |
setStore(JMSStoreMBean store)
Set the persistent store for the JMS server. |
void |
setTemporaryTemplate(JMSTemplateMBean temporaryTemplate)
Set the temporary template that is used to create all temporary destinations on this JMS server. |
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
addTarget,
getDeploymentOrder,
getTargets,
removeTarget,
setDeploymentOrder,
setTargets |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
addLinkMbeanAttribute,
getNotes,
isPersistenceEnabled,
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 |
public JMSSessionPoolMBean[] getSessionPools()
public void setSessionPools(JMSSessionPoolMBean[] sessionPools) throws javax.management.InvalidAttributeValueException
public boolean addSessionPool(JMSSessionPoolMBean sessionPool) throws javax.management.InvalidAttributeValueException, DistributedManagementException
sessionPool
- the sessionPool to add to the JMS serverpublic boolean removeSessionPool(JMSSessionPoolMBean sessionPool) throws javax.management.InvalidAttributeValueException, DistributedManagementException
sessionPool
- the sessionPool to remove from the JMS serverpublic JMSDestinationMBean[] getDestinations()
public void setDestinations(JMSDestinationMBean[] destinations) throws javax.management.InvalidAttributeValueException
public boolean addDestination(JMSDestinationMBean destination) throws javax.management.InvalidAttributeValueException, DistributedManagementException
destination
- the destination to be added to the JMS serverpublic boolean removeDestination(JMSDestinationMBean destination) throws javax.management.InvalidAttributeValueException, DistributedManagementException
destination
- the destination to be removed from the JMS serverpublic JMSStoreMBean getStore()
A persistent store may only be used by one JMS server. A value of none specifies that no persistent messaging is supported. If no persistent store is specified, then destinations on this JMS server will not support persistent messages or durable subscribers.
public void setStore(JMSStoreMBean store) throws javax.management.InvalidAttributeValueException
A persistent store may only be used by one JMS server. A value of none specifies that no persistent messaging is supported. If no persistent store is specified, then destinations on this JMS server will not support persistent messages or durable subscribers.
public JMSTemplateMBean getTemporaryTemplate()
The name of an existing JMS template used to create all temporary destinations, including temporary queues and temporary topics. The attribute values for a temporary destination are derived from this JMS template. If provided as part of the template, the Store attribute values are ignored because temporary destinations do not support persistent messaging.
Note: If this attribute is set to none, attempts to create a temporary destination (queue or topic) will fail.
public void setTemporaryTemplate(JMSTemplateMBean temporaryTemplate) throws javax.management.InvalidAttributeValueException
The name of an existing JMS template used to create all temporary destinations, including temporary queues and temporary topics. The attribute values for a temporary destination are derived from this JMS template. If provided as part of the template, the Store attribute values are ignored because temporary destinations do not support persistent messaging.
Note: If this attribute is set to none, attempts to create a temporary destination (queue or topic) will fail.
temporaryTemplate
- the temporary template for the JMS serverpublic long getBytesMaximum()
The maximum number of bytes that may be stored in the JMS server. A value of -1 specifies that there is no limit on the number of bytes that can be stored in the JMS server.
Range of Values: >= BytesThresholdHigh
This attribute is dynamically configurable.
public void setBytesMaximum(long bytesMaximum) throws javax.management.InvalidAttributeValueException, DistributedManagementException
The maximum number of bytes that may be stored in the JMS server. A value of -1 specifies that there is no limit on the number of bytes that can be stored in the JMS server.
Range of Values: >= BytesThresholdHigh
This attribute is dynamically configurable.
public long getBytesThresholdHigh()
Upper threshold value that triggers events based on the number of bytes stored in the JMS server. If the number of bytes exceeds this threshold, the triggered events are:
Log Messages - A message is logged on the server indicating a high threshold condition.
Bytes Paging - If bytes paging is enabled (and a paging store has been configured), then server bytes paging is started.
Flow Control - If flow control is enabled, the JMS server becomes armed and instructs producers to begin decreasing their message flow.
A value of -1 specifies that the value is not set and that bytes paging, flow control, and threshold log messages are disabled for the JMS server.
Range of Values: <= BytesMaximum; >BytesThresholdLow
This attribute is dynamically configurable.
Note: Bytes paging cannot be dynamically disabled by resetting the BytesThresholdHigh to -1. To disable paging, you could set the BytesThresholdHigh to a very large number, so that paging would not be triggered.
public void setBytesThresholdHigh(long bytesThresholdHigh) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Upper threshold value that triggers events based on the number of bytes stored in the JMS server. If the number of bytes exceeds this threshold, the triggered events are:
Log Messages - A message is logged on the server indicating a high threshold condition.
Bytes Paging - If bytes paging is enabled (and a paging store has been configured), then server bytes paging is started.
Flow Control - If flow control is enabled, the JMS server becomes armed and instructs producers to begin decreasing their message flow.
A value of -1 specifies that the value is not set and that bytes paging, flow control, and threshold log messages are disabled for the JMS server.
Range of Values: <= BytesMaximum; >BytesThresholdLow
This attribute is dynamically configurable.
Note: Bytes paging cannot be dynamically disabled by resetting the BytesThresholdHigh to -1. To disable paging, you could set the BytesThresholdHigh to a very large number, so that paging would not be triggered.
public long getBytesThresholdLow()
Lower threshold value that triggers events based on the number of bytes stored in the JMS server. If the number of bytes falls below this threshold, the triggered events are:
Log Messages - A message is logged on the server indicating that the threshold condition has cleared.
Bytes Paging - If bytes paging is enabled, paging is stopped (if paging is occurring).
Flow Control - If flow control is enabled, the JMS server becomes disarmed and instructs producers to begin increasing their message flow.
A value of -1 specifies that the value is not set and that bytes paging, flow control, and threshold log messages are disabled for the JMS server.
Range of Values: < BytesThresholdHigh
This attribute is dynamically configurable.
public void setBytesThresholdLow(long bytesThresholdLow) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Lower threshold value that triggers events based on the number of bytes stored in the JMS server. If the number of bytes falls below this threshold, the triggered events are:
Log Messages - A message is logged on the server indicating that the threshold condition has cleared.
Bytes Paging - If bytes paging is enabled, paging is stopped (if paging is occurring).
Flow Control - If flow control is enabled, the JMS server becomes disarmed and instructs producers to begin increasing their message flow.
A value of -1 specifies that the value is not set and that bytes paging, flow control, and threshold log messages are disabled for the JMS server.
Range of Values: < BytesThresholdHigh
This attribute is dynamically configurable.
public long getMessagesMaximum()
The maximum number of messages that may be stored in the JMS server. A value of -1 specifies that there is no limit on the number of messages that can be stored in the JMS server.
This attribute is dynamically configurable.
Range of Values: >= MessagesThresholdHigh
public void setMessagesMaximum(long messagesMaximum) throws javax.management.InvalidAttributeValueException, DistributedManagementException
The maximum number of messages that may be stored in the JMS server. A value of -1 specifies that there is no limit on the number of messages that can be stored in the JMS server.
This attribute is dynamically configurable.
Range of Values: >= MessagesThresholdHigh This attribute is dynamically configurable.
public long getMessagesThresholdHigh()
Upper threshold value that triggers events based on the number of messages stored in the JMS server. If the number of messages exceeds this threshold, the triggered events are:
Log Messages - A message is logged on the server indicating a high threshold condition.
Messages Paging - If messages paging is enabled (and a paging store has been configured), then server messages paging is started.
Flow Control - If flow control is enabled, the JMS server becomes armed and instructs producers to begin decreasing their message flow.
A value of -1 specifies that the value is not set and that messages paging, flow control, and threshold log messages are disabled for the JMS server.
Range of Values: <= MessagesMaximum; >MessagesThresholdLow
This attribute is dynamically configurable.
Note: Messages paging cannot be dynamically disabled by resetting the MessagesThresholdHigh to -1. To disable paging, you could set the MessagesThresholdHigh to a very large number, so that paging would not be triggered.
public void setMessagesThresholdHigh(long messagesThresholdHigh) throws javax.management.InvalidAttributeValueException
Upper threshold value that triggers events based on the number of messages stored in the JMS server. If the number of messages exceeds this threshold, the triggered events are:
Log Messages - A message is logged on the server indicating a high threshold condition.
Messages Paging - If messages paging is enabled (and a paging store has been configured), then server messages paging is started.
Flow Control - If flow control is enabled, the JMS server becomes armed and instructs producers to begin decreasing their message flow.
A value of -1 specifies that the value is not set and that messages paging, flow control, and threshold log messages are disabled for the JMS server.
Range of Values: <= MessagesMaximum; >MessagesThresholdLow
This attribute is dynamically configurable.
Note: Messages paging cannot be dynamically disabled by resetting the MessagesThresholdHigh to -1. To disable paging, you could set the MessagesThresholdHigh to a very large number, so that paging would not be triggered.
public long getMessagesThresholdLow()
Lower threshold value that triggers events based on the number of messages stored in the JMS server. If the number of messages falls below this threshold, the triggered events are:
Log Messages - A message is logged on the server indicating that the threshold condition has cleared.
Messagse Paging - If messages paging is enabled, paging is stopped (if paging is occurring).
Flow Control - If flow control is enabled, the JMS server becomes disarmed and instructs producers to begin increasing their message flow.
A value of -1 specifies that the value is not set and that messages paging, flow control, and threshold log messages are disabled for the JMS server.
Range of Values: < MessagesThresholdHigh
This attribute is dynamically configurable.
public void setMessagesThresholdLow(long messagesThresholdLow) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Lower threshold value that triggers events based on the number of messages stored in the JMS server. If the number of messages falls below this threshold, the triggered events are:
Log Messages - A message is logged on the server indicating that the threshold condition has cleared.
Messages Paging - If messages paging is enabled, paging is stopped (if paging is occurring).
Flow Control - If flow control is enabled, the JMS server becomes disarmed and instructs producers to begin increasing their message flow.
A value of -1 specifies that the value is not set and that messages paging, flow control, and threshold log messages are disabled for the JMS server.
Range of Values: < MessagesThresholdHigh
This attribute is dynamically configurable.
public JMSStoreMBean getPagingStore()
The name of the persistent store where non-persistent messages are paged for the JMS server. A paging store cannot be the same store used for persistent messages or durable subscribers.
A paging store may only be used by one JMS server. A value of none specifies that message paging is not supported. If no paging store is specified, then the server and destinations will not support message paging.
Note: Using a JDBC store is not recommended for paging since the amount of traffic and subsequent lack of performance would make such a configuration undesirable.
public void setPagingStore(JMSStoreMBean store) throws javax.management.InvalidAttributeValueException
The name of the persistent store where non-persistent messages are paged for the JMS server. A paging store cannot be the same store used for persistent messages or durable subscribers.
A paging store may only be used by one JMS server. A value of none specifies that message paging is not supported. If no paging store is specified, then the server and destinations will not support message paging.
Note: Using a JDBC store is not recommended for paging since the amount of traffic and subsequent lack of performance would make such a configuration undesirable.
public boolean isMessagesPagingEnabled()
Flag for specifying whether or not messages paging is enabled on the JMS server:
public void setMessagesPagingEnabled(boolean enabled) throws javax.management.InvalidAttributeValueException
Flag for specifying whether or not messages paging is enabled on the JMS server:
public boolean isBytesPagingEnabled()
Flag for specifying whether or not bytes paging is enabled on the JMS server:
public void setBytesPagingEnabled(boolean enabled) throws javax.management.InvalidAttributeValueException
Flag for specifying whether or not bytes paging is enabled on the JMS server:
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |