cgl.narada.wsinfra.wse.matching
Class SubscriptionManagement

java.lang.Object
  extended by cgl.narada.wsinfra.wse.matching.SubscriptionManagement

public class SubscriptionManagement
extends Object

Manages the list of subscriptions available at node.


Constructor Summary
SubscriptionManagement()
           
 
Method Summary
 SubscriptionEntry addEntry(SubscriptionEntry addEntry)
          Gets the entry corresponding to the specified identifier.
 SubscriptionEntry deleteEntry(String identifier)
          Deletes the entry corresponding to the specified identifier.
 SubscriptionEntry getEntry(String identifier)
          Gets the entry corresponding to the specified identifier.
 Enumeration getSubscriptionIdentifiers()
          Gets the list of subscriptions that are managed.
 boolean hasEntry(String identifier)
          Checks to see if an entry based on the specified identifier exists within the subscription management tables.
 SubscriptionEntry updateEntry(SubscriptionEntry updatedEntry)
          Updates the entry corresponding to the specified identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionManagement

public SubscriptionManagement()
Method Detail

hasEntry

public boolean hasEntry(String identifier)
Checks to see if an entry based on the specified identifier exists within the subscription management tables.


getEntry

public SubscriptionEntry getEntry(String identifier)
Gets the entry corresponding to the specified identifier. This method will return a NULL iff
  • The entry is not present within the subscription tables.
  • The specified Identifier is NULL


  • deleteEntry

    public SubscriptionEntry deleteEntry(String identifier)
    Deletes the entry corresponding to the specified identifier. This method will return a NULL iff
  • The entry is not present within the subscription tables.
  • The specified Identifier is NULL If successful the OLD entry is returned.


  • updateEntry

    public SubscriptionEntry updateEntry(SubscriptionEntry updatedEntry)
    Updates the entry corresponding to the specified identifier. This method will return a NULL iff
  • The entry is not present within the subscription tables.
  • The specified Identifier is NULL
  • The updatedEntry is NULL If successful the OLD entry is returned.


  • addEntry

    public SubscriptionEntry addEntry(SubscriptionEntry addEntry)
    Gets the entry corresponding to the specified identifier. This method will return a NULL iff
  • An entry is already present within the subscription tables.
  • The specified Identifier is NULL
  • The addEntry is NULL
  • There is already an entry corresponding to the identifier contained in addEntry If successful the NEWLY added entry is returned.


  • getSubscriptionIdentifiers

    public Enumeration getSubscriptionIdentifiers()
    Gets the list of subscriptions that are managed. This is returned as an enumeration.



    For comments and suggestions please send e-mail to The NaradaBrokering Project