protected class AbstractListenerImpl.ListenerInvocationImpl<A> extends Object implements ListenerInvocation<A>
| Constructor and Description |
|---|
ListenerInvocationImpl(Object target,
Method method,
boolean sync,
ClassLoader classLoader,
Subject subject) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getTarget()
The listener instance that is notified of events
|
CompletionStage<Void> |
invoke(A event)
Invokes the event
|
public ListenerInvocationImpl(Object target, Method method, boolean sync, ClassLoader classLoader, Subject subject)
public CompletionStage<Void> invoke(A event)
ListenerInvocationinvoke in interface ListenerInvocation<A>public Object getTarget()
ListenerInvocationgetTarget in interface ListenerInvocation<A>Copyright © 2021 JBoss by Red Hat. All rights reserved.