Package io.preboot.eventbus
Class LocalEventHandlerRepository
java.lang.Object
io.preboot.eventbus.LocalEventHandlerRepository
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class LocalEventHandlerRepository
extends Object
implements org.springframework.context.ApplicationContextAware
-
Constructor Summary
ConstructorsConstructorDescriptionLocalEventHandlerRepository(org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescription<T> booleanisHandlerMissing(T event) voidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
LocalEventHandlerRepository
public LocalEventHandlerRepository(org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
publish
-
isHandlerMissing
public <T> boolean isHandlerMissing(T event) -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-