fulmine.model.container.subscription.remote
Class TxSubscription
java.lang.Object
fulmine.event.subscription.Subscription
fulmine.model.container.subscription.ContainerSubscription
fulmine.model.container.subscription.remote.TxSubscription
- All Implemented Interfaces:
- ISubscription, ISubscriptionParameters, IAddressable, IDestroyable
public final class TxSubscription
- extends ContainerSubscription
Subscription for transmitting a local IContainer to a remote
IFrameworkContext. This subscription is sent by a remote context to
receive local container events. This is the counterpart to the
RxSubscription.
The container(s) identified by this subscription are 'marked' for
transmission by calling their
IRemoteSubscribable.markForRemoteSubscription() method.
- Author:
- Ramon Servadei
|
Method Summary |
protected boolean |
doAddOperation(IEventSource source)
Template method for the operation to perform when a source match is
added. |
protected boolean |
doRemoveOperation(IEventSource source)
Template method for the operation to perform when a source match is
removed. |
protected org.apache.commons.logging.Log |
getLog()
|
| Methods inherited from class fulmine.event.subscription.Subscription |
addListener, addMatch, destroy, equals, getAddress, getDomain, getIdentity, getListeners, getMatches, getType, hashCode, includes, removeListener, removeMatch, toString |
TxSubscription
protected TxSubscription(ISubscriptionParameters parameters)
- Standard constructor
- Parameters:
parameters - the parameters for the subscription
doAddOperation
protected boolean doAddOperation(IEventSource source)
- Description copied from class:
Subscription
- Template method for the operation to perform when a source match is
added.
- Overrides:
doAddOperation in class Subscription
- Parameters:
source - the source the operation applies to
- Returns:
true if the operation did something
doRemoveOperation
protected boolean doRemoveOperation(IEventSource source)
- Description copied from class:
Subscription
- Template method for the operation to perform when a source match is
removed.
- Overrides:
doRemoveOperation in class Subscription
- Parameters:
source - the source the operation applies to
- Returns:
true if the operation did something
getLog
protected org.apache.commons.logging.Log getLog()
- Overrides:
getLog in class ContainerSubscription
Copyright © 2007-2009. All Rights Reserved.