|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This MBean represents a JMS session pool.
Field Summary | |
static long |
CACHING_STUB_SVUID
|
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID |
Method Summary | |
boolean |
addConnectionConsumer(JMSConnectionConsumerMBean connectionConsumer)
Add a connection consumer to the session pool. |
java.lang.String |
getAcknowledgeMode()
Return the acknowledge mode used by non-transacted sessions within the session pool. |
JMSConnectionConsumerMBean[] |
getConnectionConsumers()
Return a read-only array of the connection consumers of the session pool. |
java.lang.String |
getConnectionFactory()
Return the JNDI name of the connection factory for the session pool. |
java.lang.String |
getListenerClass()
Return the name of the listener class for the session pool. |
int |
getSessionsMaximum()
Return the maximum number of sessions allowed for the session pool. |
boolean |
isTransacted()
Check if the session pool is transacted or non-transacted. |
boolean |
removeConnectionConsumer(JMSConnectionConsumerMBean connectionConsumer)
Remove a connection consumer from the session pool. |
void |
setAcknowledgeMode(java.lang.String acknowledgeMode)
Set the acknowledge mode used by non-transacted sessions within the session pool. |
void |
setConnectionConsumers(JMSConnectionConsumerMBean[] consumers)
Set all connection consumers in this session pool. |
void |
setConnectionFactory(java.lang.String connectionFactory)
Set the connection factory JNDI name of the session pool. |
void |
setListenerClass(java.lang.String name)
Set the name of the listener class for the session pool. |
void |
setSessionsMaximum(int maxSessions)
Set the maximum number of sessions allowed for the session pool. |
void |
setTransacted(boolean transacted)
Set the session pool to be transacted or non-transacted. |
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 |
Field Detail |
public static final long CACHING_STUB_SVUID
Method Detail |
public JMSConnectionConsumerMBean[] getConnectionConsumers()
public void setConnectionConsumers(JMSConnectionConsumerMBean[] consumers) throws javax.management.InvalidAttributeValueException
public boolean addConnectionConsumer(JMSConnectionConsumerMBean connectionConsumer) throws javax.management.InvalidAttributeValueException, DistributedManagementException
connectionConsumer
- a reference to
JMSConnectionConsumerMBeanpublic boolean removeConnectionConsumer(JMSConnectionConsumerMBean connectionConsumer) throws javax.management.InvalidAttributeValueException, DistributedManagementException
connectionConsumer
- a reference to
JMSConnectionConsumerMBeanpublic java.lang.String getConnectionFactory()
public void setConnectionFactory(java.lang.String connectionFactory) throws javax.management.InvalidAttributeValueException
name
- the JNDI name of the ConnectionFactory used by the
SessionPoolpublic java.lang.String getListenerClass()
public void setListenerClass(java.lang.String name) throws javax.management.InvalidAttributeValueException
public java.lang.String getAcknowledgeMode()
For transacted sessions, messages are acknowledged automatically when the session is committed and this field is ignored.
This attribute is not dynamically configurable.
public void setAcknowledgeMode(java.lang.String acknowledgeMode) throws javax.management.InvalidAttributeValueException
For transacted sessions, messages are acknowledged automatically when the session is committed and this field is ignored.
This attribute is not dynamically configurable.
public int getSessionsMaximum()
This value is the number of concurrent sessions in the session pool. A value of -1 indicates that there is no maximum.
This attribute is dynamically configurable; however, it does not take effect until the session pool is restarted.
public void setSessionsMaximum(int maxSessions) throws javax.management.InvalidAttributeValueException, DistributedManagementException
This value is the number of concurrent sessions in the session pool. A value of -1 indicates that there is no maximum.
This attribute is dynamically configurable; however, it does not take effect until the session pool is restarted.
public boolean isTransacted()
This flag indicates whether or not the session pool creates transacted sessions.
This attribute is not dynamically configurable.
public void setTransacted(boolean transacted) throws javax.management.InvalidAttributeValueException
This flag indicates whether or not the session pool creates transacted sessions.
This attribute is not dynamically configurable.
|
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 |