org.qi4j.api.concern
Class ConcernOf<T>
java.lang.Object
org.qi4j.api.concern.ConcernOf<T>
- Direct Known Subclasses:
- AbstractTraceConcern, AuthorizationConcern, ConcurrentModificationCheckConcern, GenericConcern, MockPlayerConcern, ReadLockConcern, ReturnCachedValueConcern, ReturnCachedValueOnExceptionConcern, SecurityConcern, StateChangeNotificationConcern, TransactionNotificationConcern, UnitOfWorkNotificationConcern, WriteLockConcern
public abstract class ConcernOf<T>
- extends Object
Base class for Concerns. It introduces a typed "next" pointer
that Concerns can use to invoke the next Concern (or mixin) in
the chain.
Generic Concerns should subclass GenericConcern
instead.
Concerns implementations must be thread-safe in their implementation,
as multiple threads may share instances.
Field Summary |
protected T |
next
The "next" pointer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
next
@ConcernFor
protected final T next
- The "next" pointer. This points to
the next concern in the chain or the mixin
to be invoked.
ConcernOf
public ConcernOf()