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 <Topic> MessageBusHelper.MethodAdapter
createMethodAdapter(java.lang.Object owner, java.lang.reflect.Method method, java.lang.Class<Topic> topic)
<Topic> void
publish(java.lang.Class<Topic> topic, Topic message)
void
publish(java.lang.Object message)
-
-
-
Method Detail
-
createMethodAdapter
@Nonnull public <Topic> MessageBusHelper.MethodAdapter createMethodAdapter(@Nonnull java.lang.Object owner, @Nonnull java.lang.reflect.Method method, @Nonnull java.lang.Class<Topic> topic)
- Specified by:
createMethodAdapter
in interfaceMessageBusHelper.Adapter
-
publish
public void publish(@Nonnull java.lang.Object message)
- Specified by:
publish
in interfaceMessageBusHelper.Adapter
-
publish
public <Topic> void publish(@Nonnull java.lang.Class<Topic> topic, @Nonnull Topic message)
- Specified by:
publish
in interfaceMessageBusHelper.Adapter
-
-