Class MessageBusAdapterFactory
- java.lang.Object
-
- it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory
-
- All Implemented Interfaces:
MessageBusHelper.Adapter
public class MessageBusAdapterFactory extends java.lang.Object implements MessageBusHelper.Adapter
- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description MessageBusAdapterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> MessageBusHelper.MethodAdapter<T>
createMethodAdapter(java.lang.Object owner, 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 public <T> MessageBusHelper.MethodAdapter<T> createMethodAdapter(@Nonnull java.lang.Object owner, @Nonnull java.lang.reflect.Method method, @Nonnull java.lang.Class<T> topic)
- Specified by:
createMethodAdapter
in interfaceMessageBusHelper.Adapter
-
publish
public void publish(@Nonnull java.lang.Object message)
- Specified by:
publish
in interfaceMessageBusHelper.Adapter
-
publish
public <T> void publish(@Nonnull java.lang.Class<T> topic, @Nonnull T message)
- Specified by:
publish
in interfaceMessageBusHelper.Adapter
-
-