Package net.engio.mbassy.subscription
Class AbstractSubscriptionContextAware
- java.lang.Object
-
- net.engio.mbassy.subscription.AbstractSubscriptionContextAware
-
- All Implemented Interfaces:
ISubscriptionContextAware
- Direct Known Subclasses:
AsynchronousHandlerInvocation,DelegatingMessageDispatcher,HandlerInvocation,MessageDispatcher,SynchronizedHandlerInvocation
public class AbstractSubscriptionContextAware extends java.lang.Object implements ISubscriptionContextAware
The base implementation for subscription context aware objects (mightily obvious :)
-
-
Field Summary
Fields Modifier and Type Field Description private SubscriptionContextcontext
-
Constructor Summary
Constructors Constructor Description AbstractSubscriptionContextAware(SubscriptionContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionContextgetContext()Get the subscription context associated with this object
-
-
-
Field Detail
-
context
private final SubscriptionContext context
-
-
Constructor Detail
-
AbstractSubscriptionContextAware
public AbstractSubscriptionContextAware(SubscriptionContext context)
-
-
Method Detail
-
getContext
public final SubscriptionContext getContext()
Description copied from interface:ISubscriptionContextAwareGet the subscription context associated with this object- Specified by:
getContextin interfaceISubscriptionContextAware- Returns:
- the subscription context associated with this object
-
-