Package it.tidalwave.messagebus
Interface MessageBusHelper.Adapter
-
- Enclosing class:
- MessageBusHelper
public static interface MessageBusHelper.Adapter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> MessageBusHelper.MethodAdapter<T>
createMethodAdapter(java.lang.Object object, java.lang.reflect.Method method, java.lang.Class<T> topic)
<T> void
publish(java.lang.Class<T> topic, T message)
void
publish(java.lang.Object message)
-
-
-
Method Detail
-
createMethodAdapter
@Nonnull <T> MessageBusHelper.MethodAdapter<T> createMethodAdapter(@Nonnull java.lang.Object object, @Nonnull java.lang.reflect.Method method, @Nonnull java.lang.Class<T> topic)
-
publish
void publish(@Nonnull java.lang.Object message)
-
publish
<T> void publish(java.lang.Class<T> topic, @Nonnull T message)
-
-