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<TOPIC>
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<TOPIC> 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
-
-