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)
ListenerInvocation
invoke
in interface ListenerInvocation<A>
public Object getTarget()
ListenerInvocation
getTarget
in interface ListenerInvocation<A>
Copyright © 2021 JBoss by Red Hat. All rights reserved.