org.apache.servicemix.jbi.framework
Class SubscriptionRegistry
java.lang.Object
org.apache.servicemix.jbi.framework.SubscriptionRegistry
public class SubscriptionRegistry
- extends Object
Maintains a registry of the applicable subscriptions currently active for the
current components
- Version:
- $Revision: 564607 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscriptionRegistry
public SubscriptionRegistry(Registry registry)
registerSubscription
public void registerSubscription(SubscriptionSpec subscription,
InternalEndpoint endpoint)
- Parameters:
subscription - endpoint -
deregisterSubscription
public InternalEndpoint deregisterSubscription(SubscriptionSpec subscription)
- Parameters:
subscription -
- Returns:
- the ServiceEndpoint
getMatchingSubscriptionEndpoints
public List<InternalEndpoint> getMatchingSubscriptionEndpoints(MessageExchangeImpl exchange)
- Parameters:
exchange -
- Returns:
- a List of matching endpoints - can return null if no matches
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.