E
- the element typeO
- the generic typeEM
- the generic typeObserver<E>
ObserverDescriptorImpl
public interface ObserverDescriptor<E extends GenericEvent<?>,O extends Observer<E>,EM extends EventMatcher<E>> extends Observer<E>
ObserverDescriptor
describes the Observer
, i.e. in some
cases an Observer
requires an EventMatcher
which determines
which GenericActionEvent
instances to pass to the Observer
.
The ObserverDescriptor
is itself an Observer
calling the
EventMatcher
to determine whether to delegate the
GenericActionEvent
to contained Observer
or not.Modifier and Type | Method | Description |
---|---|---|
EM |
getEventMatcher() |
Returns the
EventMatcher associated with the given
Observer . |
O |
getObserver() |
Returns the
Observer associated with the given
EventMatcher . |
O getObserver()
Observer
associated with the given
EventMatcher
.Observer
as it is being managed by the
ObserverDescriptor
.EM getEventMatcher()
EventMatcher
associated with the given
Observer
.EventMatcher
as it is being managed by the
ObserverDescriptor
.Copyright © 2018. All rights reserved.