|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas_jms.JConnectionFactory
Field Summary | |
protected JmsManager |
jms
|
Constructor Summary | |
JConnectionFactory(java.lang.String name)
Constructor. |
Method Summary | |
void |
freeJConnection(JConnection con)
Free a Connection and return it to the pool |
JConnection |
getJConnection()
Get a Connection from the pool for an anonymous user |
JConnection |
getJConnection(java.lang.String user)
Get a Connection from the pool for the specified user |
javax.naming.Reference |
getReference()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JmsManager jms
Constructor Detail |
public JConnectionFactory(java.lang.String name)
Method Detail |
public void freeJConnection(JConnection con)
public JConnection getJConnection()
public JConnection getJConnection(java.lang.String user)
user
- User wanting a connectionpublic javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |