Index
All Classes|All Packages
A
- addService(String, Object) - Method in class com.github.philippheuer.events4j.core.services.ServiceMediator
-
Add a service to the ServiceMediator.
- autoDiscovery() - Method in class com.github.philippheuer.events4j.core.EventManager
-
Automatic discovery of optional components
C
- canEqual(Object) - Method in class com.github.philippheuer.events4j.core.domain.Event
- close() - Method in class com.github.philippheuer.events4j.core.EventManager
-
Shutdown
- com.github.philippheuer.events4j.core - package com.github.philippheuer.events4j.core
- com.github.philippheuer.events4j.core.domain - package com.github.philippheuer.events4j.core.domain
- com.github.philippheuer.events4j.core.services - package com.github.philippheuer.events4j.core.services
E
- equals(Object) - Method in class com.github.philippheuer.events4j.core.domain.Event
- Event - Class in com.github.philippheuer.events4j.core.domain
-
Used to represent an event.
- Event() - Constructor for class com.github.philippheuer.events4j.core.domain.Event
-
Constructor
- EventManager - Class in com.github.philippheuer.events4j.core
-
The EventManager
- EventManager() - Constructor for class com.github.philippheuer.events4j.core.EventManager
-
Constructor
G
- getActiveSubscriptions() - Method in class com.github.philippheuer.events4j.core.EventManager
- getConsumerSequence() - Method in class com.github.philippheuer.events4j.core.EventManager
-
Holds the current sequence for consumer registrations
- getDefaultEventHandler() - Method in class com.github.philippheuer.events4j.core.EventManager
-
Default EventHandler
- getEventHandler(Class<E>) - Method in class com.github.philippheuer.events4j.core.EventManager
-
Retrieves a EventHandler of the provided type
- getEventHandlerCache() - Method in class com.github.philippheuer.events4j.core.EventManager
-
EventHandler Class Cache
- getEventHandlers() - Method in class com.github.philippheuer.events4j.core.EventManager
-
Event Handlers
- getEventId() - Method in class com.github.philippheuer.events4j.core.domain.Event
-
Unique event id
- getEventManager() - Method in class com.github.philippheuer.events4j.core.services.ServiceMediator
-
Holds a reference of the EventManager
- getFiredAt() - Method in class com.github.philippheuer.events4j.core.domain.Event
- getFiredAtInstant() - Method in class com.github.philippheuer.events4j.core.domain.Event
-
Event fired at
- getService(Class<T>, String) - Method in class com.github.philippheuer.events4j.core.services.ServiceMediator
-
Gets a service from the ServiceMediator
- getServiceMediator() - Method in class com.github.philippheuer.events4j.core.domain.Event
-
Holds a reference to the ServiceMediator to access 3rd party services
- getServiceMediator() - Method in class com.github.philippheuer.events4j.core.EventManager
-
Holds the ServiceMediator
H
- hasEventHandler(Class<? extends IEventHandler>) - Method in class com.github.philippheuer.events4j.core.EventManager
-
Checks if a given eventHandler is registered / present
- hashCode() - Method in class com.github.philippheuer.events4j.core.domain.Event
I
- isStopped() - Method in class com.github.philippheuer.events4j.core.EventManager
-
is Stopped?
O
- onEvent(Class<E>, Consumer<E>) - Method in class com.github.philippheuer.events4j.core.EventManager
-
Registers a event consumer
- onEvent(String, Class<E>, Consumer<E>) - Method in class com.github.philippheuer.events4j.core.EventManager
-
Registers a event consumer and assigns a id
P
- publish(Object) - Method in class com.github.philippheuer.events4j.core.EventManager
-
Dispatches a event
R
- registerEventHandler(IEventHandler) - Method in class com.github.philippheuer.events4j.core.EventManager
-
Registers a EventHandler
S
- ServiceMediator - Class in com.github.philippheuer.events4j.core.services
-
The ServiceMediator
- ServiceMediator(IEventManager) - Constructor for class com.github.philippheuer.events4j.core.services.ServiceMediator
-
The Constructor.
- setDefaultEventHandler(Class) - Method in class com.github.philippheuer.events4j.core.EventManager
-
Sets the default eventHandler
- setDefaultEventHandler(String) - Method in class com.github.philippheuer.events4j.core.EventManager
-
Sets the default eventHandler
- setEventId(String) - Method in class com.github.philippheuer.events4j.core.domain.Event
-
Unique event id
- setFiredAt(Calendar) - Method in class com.github.philippheuer.events4j.core.domain.Event
- setFiredAtInstant(Instant) - Method in class com.github.philippheuer.events4j.core.domain.Event
-
Event fired at
- setServiceMediator(IServiceMediator) - Method in class com.github.philippheuer.events4j.core.domain.Event
-
Holds a reference to the ServiceMediator to access 3rd party services
T
- toString() - Method in class com.github.philippheuer.events4j.core.domain.Event
All Classes|All Packages