fulmine.model.container.subscription
Class ContainerSubscription

java.lang.Object
  extended by fulmine.event.subscription.Subscription
      extended by fulmine.model.container.subscription.ContainerSubscription
All Implemented Interfaces:
ISubscription, ISubscriptionParameters, IAddressable, IDestroyable
Direct Known Subclasses:
RxSubscription, TxSubscription

public class ContainerSubscription
extends Subscription

A subscription implementation for matching against IContainer instances. When registering a listener against a matching container, an image event is forced from the container so that the newly registered listener receives the current state of the container.

Author:
Ramon Servadei

Field Summary
 
Fields inherited from interface fulmine.event.subscription.ISubscription
WILDCARD_DOMAIN, WILDCARD_ID_REGEX, WILDCARD_TYPE
 
Constructor Summary
protected ContainerSubscription(ISubscriptionParameters parameters)
          Standard constructor
 
Method Summary
protected  org.apache.commons.logging.Log getLog()
           
 
Methods inherited from class fulmine.event.subscription.Subscription
addListener, addMatch, destroy, doAddOperation, doRemoveOperation, equals, getAddress, getDomain, getIdentity, getListeners, getMatches, getType, hashCode, includes, removeListener, removeMatch, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerSubscription

protected ContainerSubscription(ISubscriptionParameters parameters)
Standard constructor

Parameters:
parameters - the parameters for the subscription
listener - the listener to register against subscription matches
Method Detail

getLog

protected org.apache.commons.logging.Log getLog()
Overrides:
getLog in class Subscription


Copyright © 2007-2009. All Rights Reserved.