class EventAdapters extends AnyRef
EventAdapters
serves as a per-journal collection of bound event adapters.
- Source
- EventAdapters.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- EventAdapters
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new EventAdapters(map: ConcurrentHashMap[Class[_], EventAdapter], bindings: Seq[(Class[_], EventAdapter)], log: LoggingAdapter)
Value Members
-
def
get(clazz: Class[_]): EventAdapter
Finds the "most specific" matching adapter for the given class (i.e.
Finds the "most specific" matching adapter for the given class (i.e. it may return an adapter that can work on a interface implemented by the given class if no direct match is found).
Falls back to IdentityEventAdapter if no adapter was defined for the given class.
-
def
toString(): String
- Definition Classes
- EventAdapters → AnyRef → Any