org.globus.ogsa.impl.core.notification.framework.jms
Class JMSSubscription

java.lang.Object
  extended byorg.globus.ogsa.impl.core.notification.framework.jms.JMSSubscription
All Implemented Interfaces:
Subscription

public class JMSSubscription
extends java.lang.Object
implements Subscription

The JMSSubscription class. This file is used to create a subscription.


Constructor Summary
JMSSubscription(java.lang.String aSinkGSH, java.lang.String aSubscriptionType, java.lang.String aSubscriptionID)
          The Constructor of the class.
 
Method Summary
 void destroy()
          The destroy method.
 JMSAdapter getJMSAdapter()
          The getJMSAdapter method.
protected  TopicPublisher getRemoveSubscriptionTopicPublisher()
          The getRemoveSubscriptionTopicPublisher method.
 java.lang.String getSubscriptionID()
          The getSubscriptionID method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSSubscription

public JMSSubscription(java.lang.String aSinkGSH,
                       java.lang.String aSubscriptionType,
                       java.lang.String aSubscriptionID)
                throws java.lang.Exception
The Constructor of the class.

Parameters:
aSinkGSH - The GSH of the Notification Sink.
aSubscriptionType - The Expression Type of the criteria.
aSubscriptionID - The unique id of this subscription
Throws:
java.lang.Exception - if the JMS adapter can not be optained
Method Detail

getSubscriptionID

public java.lang.String getSubscriptionID()
The getSubscriptionID method. This method is the accessor for SubscriptionID

Specified by:
getSubscriptionID in interface Subscription
Returns:
theSubscritionID

getRemoveSubscriptionTopicPublisher

protected TopicPublisher getRemoveSubscriptionTopicPublisher()
The getRemoveSubscriptionTopicPublisher method. This method gets the RemoveSubscriptionTopicPublisher.

Returns:
TopicPublisher

destroy

public void destroy()
The destroy method. This is the GridService destroy method.

Specified by:
destroy in interface Subscription

getJMSAdapter

public JMSAdapter getJMSAdapter()
The getJMSAdapter method. This methos is the accessor for the JMSAdapter.