Package org.oddjob.events
Class EventSourceAdaptor<T>
java.lang.Object
org.oddjob.events.EventSourceAdaptor<T>
- Type Parameters:
T- The type of event.
- All Implemented Interfaces:
EventSource<T>
Provide an adapter to an
EventSource from components that may be Event Sources already, or
may be Outbounds.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Optional<EventSource<T>> maybeEventSourceFrom(Object maybe, ArooaSession session) toString()
-
Constructor Details
-
EventSourceAdaptor
-
-
Method Details
-
subscribe
- Specified by:
subscribein interfaceEventSource<T>
-
toString
-
maybeEventSourceFrom
-