|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the model for creating ServerSessionPoolFactory objects.
Created: Wed Nov 29 15:55:21 2000
Method Summary | |
java.lang.String |
getName()
Get the name of the factory. |
ServerSessionPool (src) |
getServerSessionPool(Destination (src) destination,
Connection (src) con,
int minSession,
int maxSession,
long keepAlive,
boolean isTransacted,
int ack,
boolean useLocalTX,
MessageListener (src) listener)
Create a new ServerSessionPool. |
XidFactoryMBean |
getXidFactory()
The getXidFactory method returns the XidFactory that
server sessions will use to get xids.. |
void |
setName(java.lang.String name)
Set the name of the factory. |
void |
setXidFactory(XidFactoryMBean xidFactory)
The setXidFactory method supplies the XidFactory that
server sessions will use to get Xids to control local transactions. |
Method Detail |
public void setName(java.lang.String name)
name
- The name of the factory.public java.lang.String getName()
public void setXidFactory(XidFactoryMBean xidFactory)
setXidFactory
method supplies the XidFactory that
server sessions will use to get Xids to control local transactions.
xidFactory
- a XidFactoryMBean
valuepublic XidFactoryMBean getXidFactory()
getXidFactory
method returns the XidFactory that
server sessions will use to get xids..
XidFactoryMBean
valuepublic ServerSessionPool (src) getServerSessionPool(Destination (src) destination, Connection (src) con, int minSession, int maxSession, long keepAlive, boolean isTransacted, int ack, boolean useLocalTX, MessageListener (src) listener) throws JMSException (src)
destination
- the destinationcon
- the jms connectionminSession
- the minimum number of sessionsmaxSession
- the maximum number of sessionskeepAlive
- the time to keep sessions aliveisTransacted
- whether the pool is transactedack
- the acknowledegement methodlistener
- the listeneruseLocalTX
- whether to use local transactions
JMSException (src)
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |