|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JmsJndiEnvironment
Environment for using JMS and JNDI.
| Method Summary | |
|---|---|
void |
close()
Close the JMS connection to the provider. |
javax.jms.TopicConnection |
getConnection()
Returns the JMS provider connection. |
javax.naming.Context |
getContext()
Return the naming context. |
javax.jms.Topic |
getTopic(java.lang.String name)
Creates a topic for a given name. |
boolean |
isOpen()
Returns the information if the connection to the JMS provider is active. |
void |
open()
Create a connection to the JMS provider and start it. |
| Method Detail |
|---|
javax.naming.Context getContext()
javax.jms.Topic getTopic(java.lang.String name)
name - Name of the topic to create.
void open()
boolean isOpen()
javax.jms.TopicConnection getConnection()
isOpen()
returns TRUE!
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||