Index

A C D G H I O P R S T 
All Classes and Interfaces|All Packages

A

addService(String, Object) - Method in interface com.github.philippheuer.events4j.api.service.IServiceMediator
Add a service to the ServiceMediator.

C

com.github.philippheuer.events4j.api - package com.github.philippheuer.events4j.api
 
com.github.philippheuer.events4j.api.domain - package com.github.philippheuer.events4j.api.domain
 
com.github.philippheuer.events4j.api.service - package com.github.philippheuer.events4j.api.service
 

D

DisposableWrapper - Class in com.github.philippheuer.events4j.api.domain
 
DisposableWrapper(IDisposable, String, Class, Consumer, Map<String, IEventSubscription>) - Constructor for class com.github.philippheuer.events4j.api.domain.DisposableWrapper
 
dispose() - Method in class com.github.philippheuer.events4j.api.domain.DisposableWrapper
Dispose
dispose() - Method in interface com.github.philippheuer.events4j.api.domain.IDisposable
This method is called to dispose of the resources held by the object that implements this interface.

G

getActiveSubscriptions() - Method in class com.github.philippheuer.events4j.api.domain.DisposableWrapper
 
getActiveSubscriptions() - Method in interface com.github.philippheuer.events4j.api.IEventManager
Gets a list of all active subscriptions
getConsumer() - Method in class com.github.philippheuer.events4j.api.domain.DisposableWrapper
 
getConsumer() - Method in interface com.github.philippheuer.events4j.api.domain.IEventSubscription
 
getDisposable() - Method in class com.github.philippheuer.events4j.api.domain.DisposableWrapper
 
getEventHandler(Class<E>) - Method in interface com.github.philippheuer.events4j.api.IEventManager
Retrieves a EventHandler of the provided type
getEventHandlers() - Method in interface com.github.philippheuer.events4j.api.IEventManager
Gets all registered event handlers
getEventId() - Method in interface com.github.philippheuer.events4j.api.domain.IEvent
 
getEventType() - Method in class com.github.philippheuer.events4j.api.domain.DisposableWrapper
 
getEventType() - Method in interface com.github.philippheuer.events4j.api.domain.IEventSubscription
 
getFiredAt() - Method in interface com.github.philippheuer.events4j.api.domain.IEvent
Deprecated.
getFiredAtInstant() - Method in interface com.github.philippheuer.events4j.api.domain.IEvent
 
getId() - Method in class com.github.philippheuer.events4j.api.domain.DisposableWrapper
 
getId() - Method in interface com.github.philippheuer.events4j.api.domain.IEventSubscription
 
getService(Class<T>, String) - Method in interface com.github.philippheuer.events4j.api.service.IServiceMediator
Gets a service from the ServiceMediator
getServiceMediator() - Method in interface com.github.philippheuer.events4j.api.domain.IEvent
 
getServiceMediator() - Method in interface com.github.philippheuer.events4j.api.IEventManager
Get the ServiceMediator

H

hasEventHandler(Class<? extends IEventHandler>) - Method in interface com.github.philippheuer.events4j.api.IEventManager
Checks if a given eventHandler is registered / present

I

IDisposable - Interface in com.github.philippheuer.events4j.api.domain
 
IEvent - Interface in com.github.philippheuer.events4j.api.domain
 
IEventHandler - Interface in com.github.philippheuer.events4j.api.service
 
IEventManager - Interface in com.github.philippheuer.events4j.api
 
IEventSubscription - Interface in com.github.philippheuer.events4j.api.domain
 
isDisposed() - Method in class com.github.philippheuer.events4j.api.domain.DisposableWrapper
 
isDisposed() - Method in interface com.github.philippheuer.events4j.api.domain.IDisposable
This method is used to check if the object has been disposed of.
IServiceMediator - Interface in com.github.philippheuer.events4j.api.service
 

O

onEvent(Class<E>, Consumer<E>) - Method in interface com.github.philippheuer.events4j.api.IEventManager
Registers a new consumer based default event handler if supported
onEvent(Class<E>, Consumer<E>) - Method in interface com.github.philippheuer.events4j.api.service.IEventHandler
Registers a new consumer based default event handler if supported

P

publish(Object) - Method in interface com.github.philippheuer.events4j.api.IEventManager
Publish a Event
publish(Object) - Method in interface com.github.philippheuer.events4j.api.service.IEventHandler
Publishes an Event

R

registerEventHandler(IEventHandler) - Method in interface com.github.philippheuer.events4j.api.IEventManager
Register EventHandler

S

setEventId(String) - Method in interface com.github.philippheuer.events4j.api.domain.IEvent
 
setFiredAt(Calendar) - Method in interface com.github.philippheuer.events4j.api.domain.IEvent
Deprecated.
setFiredAtInstant(Instant) - Method in interface com.github.philippheuer.events4j.api.domain.IEvent
 
setServiceMediator(IServiceMediator) - Method in interface com.github.philippheuer.events4j.api.domain.IEvent
 

T

toString() - Method in class com.github.philippheuer.events4j.api.domain.DisposableWrapper
 
A C D G H I O P R S T 
All Classes and Interfaces|All Packages