|
Oracle Corporation | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.bea.wlcp.wlng.api.edr.jms.JMSConnector
This class provides methods to create JMS session and topic to the Edr topic.
| Field Summary | |
static String |
NON_TRANSACTIONAL_FACTORY
Non-transaction factory |
static String |
TRANSACTIONAL_FACTORY
Transaction factory (not used in Melitta) |
| Constructor Summary | |
JMSConnector()
|
|
JMSConnector(Context ctx)
|
|
| Method Summary | |
void |
close()
|
TopicSession |
createSession(String factory)
Creates a session to the given factory |
static String |
getEdrTopicName()
Returns the name of the EdrTopic of the current server. |
TopicConnection |
getTopicConnection()
Returns the topic connection previously created |
Topic |
lookupTopic(TopicSession session,
String topicName)
Lookup the given topic name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String NON_TRANSACTIONAL_FACTORY
public static final String TRANSACTIONAL_FACTORY
| Constructor Detail |
public JMSConnector()
public JMSConnector(Context ctx)
| Method Detail |
public void close()
throws JMSException
JMSException
public TopicSession createSession(String factory)
throws NamingException,
JMSException
NamingException
JMSExceptionpublic static String getEdrTopicName()
public TopicConnection getTopicConnection()
public Topic lookupTopic(TopicSession session,
String topicName)
throws NamingException
session - The topic sessiontopicName - The topic name
NamingException
|
Oracle Corporation | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||