|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ServerSessionPoolFactory
| Method Summary | |
|---|---|
ServerSessionPool |
createServerSessionPool(Connection connection,
int sessionsMaximum,
int acknowledgeMode,
boolean transacted,
String messageListenerClass,
Serializable userData)
Deprecated. Create a ServerSessionPool which can be used to service messages sent to a message listener in parallel, by a pool of ServerSessions. |
ServerSessionPool |
getServerSessionPool(QueueConnection connection,
int maxSessions,
boolean transacted,
int ackMode,
String listenerClassName)
Deprecated. Create a ServerSessionPool which can be used to service messages sent to a message listener in parallel, by a pool of ServerSessions. |
ServerSessionPool |
getServerSessionPool(TopicConnection connection,
int maxSessions,
boolean transacted,
int ackMode,
String listenerClassName)
Deprecated. Create a ServerSessionPool which can be used to service messages sent to a message listener in parallel, by a pool of ServerSessions. |
| Method Detail |
|---|
ServerSessionPool getServerSessionPool(TopicConnection connection,
int maxSessions,
boolean transacted,
int ackMode,
String listenerClassName)
throws JMSException
The class listenerClassName may define a constructor which accepts a Session as an argument. The class must be public, and must define a public default constructor.
connection - Connection used to create the JMS SessionmaxSessions - Maximum number of sessions in the pooltransacted - True if the session should be transactedackMode - Acknowledgement mode for message deliverylistenerClassName - Class to be instantiated to receive messages
javax.jms.JMSException - if a JMS error occurs
JMSException
ServerSessionPool getServerSessionPool(QueueConnection connection,
int maxSessions,
boolean transacted,
int ackMode,
String listenerClassName)
throws JMSException
The class listenerClassName may define a constructor which accepts a Session as an argument. The class must be public, and must define a public default constructor.
connection - Connection used to create the JMS SessionmaxSessions - Maximum number of sessions in the pooltransacted - True if the session should be transactedackMode - Acknowledgement mode for message delivery.listenerClassName - Class to be instantiated to receive messages
javax.jms.JMSException - if a JMS error occurs
JMSException
ServerSessionPool createServerSessionPool(Connection connection,
int sessionsMaximum,
int acknowledgeMode,
boolean transacted,
String messageListenerClass,
Serializable userData)
throws JMSException
The class messageListenerClass may define a constructor which accepts a Session as an argument. The class must be public, and must define a public default constructor. If the userData and the messageListenerClass refers to a class implementing the weblogic.jms.extensions.ServerSessionPoolListener interface, then the userData is passed to the listener for use in the onMessage routine
connection - Connection used to create the JMS SessionsessionsMaximum - Maximum number of sessions in the pooltransacted - True if the session should be transactedacknowledgeMode - Acknowledgement mode for message delivery.messageListenerClass - Class to be instantiated to receive messagesuserData - Serializable client data passed to listener
javax.jms.JMSException - if a JMS error occurs
JMSExceptionServerSessionPoolListener
|
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 API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||