cgl.narada.matching
Class EntityProfileMatchingTrees

java.lang.Object
  extended by cgl.narada.matching.EntityProfileMatchingTrees

public class EntityProfileMatchingTrees
extends Object

Manages all the matching trees hosted at an entity/service.


Constructor Summary
EntityProfileMatchingTrees()
           
 
Method Summary
 Hashtable computeEventDestinations(NBEvent nbEvent)
           
 void manageSubscriptionProfile(Profile profile, boolean addProfile)
          This method is used to register/deregister a profile
 void manageSubscriptionProfile(Profile profile, boolean addProfile, int consumerId)
          This method is used to register/deregister a profile, with an alternate consumerId associated with the profile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityProfileMatchingTrees

public EntityProfileMatchingTrees()
Method Detail

manageSubscriptionProfile

public void manageSubscriptionProfile(Profile profile,
                                      boolean addProfile)
                               throws ServiceException
This method is used to register/deregister a profile

Throws:
ServiceException

manageSubscriptionProfile

public void manageSubscriptionProfile(Profile profile,
                                      boolean addProfile,
                                      int consumerId)
                               throws ServiceException
This method is used to register/deregister a profile, with an alternate consumerId associated with the profile. This is useful for dealing with local producers/consumers that have an interest in the profile in question

Throws:
ServiceException

computeEventDestinations

public Hashtable computeEventDestinations(NBEvent nbEvent)


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