|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.jms.asf.StdServerSessionPoolFactory
An implementation of ServerSessionPoolFactory.
Created: Fri Dec 22 09:47:41 2000
| Constructor Summary | |
StdServerSessionPoolFactory()
Construct a StdServerSessionPoolFactory . |
|
| Method Summary | |
String |
getName()
Get the name of the factory. |
javax.jms.ServerSessionPool |
getServerSessionPool(javax.jms.Connection con,
int minSession,
int maxSession,
long keepAlive,
boolean isTransacted,
int ack,
boolean useLocalTX,
javax.jms.MessageListener listener)
Create a new ServerSessionPool. |
org.jboss.tm.XidFactoryMBean |
getXidFactory()
The getXidFactory method returns the XidFactory that server
sessions will use to get xids.. |
void |
setName(String name)
Set the name of the factory. |
void |
setXidFactory(org.jboss.tm.XidFactoryMBean xidFactory)
The setXidFactory method supplies the XidFactory that
server sessions will use to get Xids to control local transactions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StdServerSessionPoolFactory()
| Method Detail |
public void setName(String name)
ServerSessionPoolFactory
setName in interface ServerSessionPoolFactoryname - The name of the factory.public String getName()
ServerSessionPoolFactory
getName in interface ServerSessionPoolFactorypublic void setXidFactory(org.jboss.tm.XidFactoryMBean xidFactory)
ServerSessionPoolFactorysetXidFactory method supplies the XidFactory that
server sessions will use to get Xids to control local transactions.
setXidFactory in interface ServerSessionPoolFactoryxidFactory - a XidFactoryMBean valuepublic org.jboss.tm.XidFactoryMBean getXidFactory()
ServerSessionPoolFactorygetXidFactory method returns the XidFactory that server
sessions will use to get xids..
getXidFactory in interface ServerSessionPoolFactoryXidFactoryMBean value
public javax.jms.ServerSessionPool getServerSessionPool(javax.jms.Connection con,
int minSession,
int maxSession,
long keepAlive,
boolean isTransacted,
int ack,
boolean useLocalTX,
javax.jms.MessageListener listener)
throws javax.jms.JMSException
ServerSessionPoolFactory
getServerSessionPool in interface ServerSessionPoolFactorycon - 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
javax.jms.JMSException - for any error
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||