|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.examples.pool.Client
public final class Client
Access to the bean with a limited Pool size.
Method Summary | |
---|---|
static void |
closeJMSObjects()
Close the JMS objets that have been used. |
static void |
initJMS()
Initialize the JMS objects. |
static void |
main(java.lang.String[] args)
Execute the client code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- the client argumentspublic static void initJMS() throws javax.jms.JMSException, javax.naming.NamingException
javax.jms.JMSException
- if JMS objects are not initialized
javax.naming.NamingException
- if context is not foundpublic static void closeJMSObjects() throws javax.jms.JMSException
javax.jms.JMSException
- if objects can't be closed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |