com.hammurapi.eventbus
Interface JavaBinder<E,C,K,H extends EventBus.Handle<E,Integer,C>,S extends EventStore<E,Integer,C,H,S>,B extends EventBus<E,Integer,C,K,H,S>,I extends C>

Show UML class diagram
Type Parameters:
C - Context type.
K - Registration key type.
All Known Implementing Classes:
Introspector, LocalIntrospector

public interface JavaBinder<E,C,K,H extends EventBus.Handle<E,Integer,C>,S extends EventStore<E,Integer,C,H,S>,B extends EventBus<E,Integer,C,K,H,S>,I extends C>

Interface for binding Java classes with annotated methods to event bus.


Method Summary
 Set<K> bind(I instance, B bus)
          Binds instance to the bus
 

Method Detail

bind

Set<K> bind(I instance,
            B bus)
Binds instance to the bus

Parameters:
instance -
bus -
Returns:
Registration keys.