|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ogsa.impl.core.notification.framework.jms.JMSAdapter
The JMSAdapter class. This class is used to set create and set a JMS Topic Connection Factory.
| Field Summary | |
protected static Log |
logger
|
protected TopicConnectionFactory |
theTopicConnectionFactory
The TopicConnectionFactory |
| Constructor Summary | |
JMSAdapter()
The Constructor of the class. |
|
| Method Summary | |
void |
close()
Closes the connection |
Topic |
createTopic(java.lang.String aTopicName)
The createTopic method This method creates a topic for the given name. |
static JMSAdapter |
getJMSAdapter()
A Static method to get the JMSAdapter by the name of the class. |
Topic |
getTopic(java.lang.String aTopicName)
The getTopic method. |
TopicConnection |
getTopicConnection()
The getTopicConnection method. |
abstract TopicConnectionFactory |
getTopicConnectionFactory()
The getTopicConnectionFactory method. |
TopicSession |
getTopicSession()
The getTopicSession method. |
protected void |
setTopicConnectionFactory(TopicConnectionFactory aTCF)
The setTopicConnectionFactory method. |
void |
start()
Starts the connection with the broker |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static Log logger
protected TopicConnectionFactory theTopicConnectionFactory
| Constructor Detail |
public JMSAdapter()
| Method Detail |
public static JMSAdapter getJMSAdapter()
throws java.lang.Exception
java.lang.Exception - if the adapter can not be returned.
public abstract TopicConnectionFactory getTopicConnectionFactory()
throws JMSException,
java.lang.Exception
JMSException
java.lang.Exception
protected void setTopicConnectionFactory(TopicConnectionFactory aTCF)
throws java.lang.Exception
aTCF - - The connection factory to be set.
java.lang.Exceptionpublic Topic createTopic(java.lang.String aTopicName)
aTopicName - - The topic to be created.
public Topic getTopic(java.lang.String aTopicName)
aTopicName - - The topic to be retrived.
public TopicSession getTopicSession()
public TopicConnection getTopicConnection()
public void start()
throws JMSException
JMSException
public void close()
throws JMSException
JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||