protected class AbstractListenerImpl.ListenerInvocationImpl<A> extends Object implements ListenerInvocation<A>
Modifier and Type | Field and Description |
---|---|
WeakReference<ClassLoader> |
classLoader |
Method |
method |
Subject |
subject |
boolean |
sync |
Object |
target |
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
|
void |
invoke(A event)
Invokes the event
|
public final Object target
public final Method method
public final boolean sync
public final WeakReference<ClassLoader> classLoader
public final Subject subject
public ListenerInvocationImpl(Object target, Method method, boolean sync, ClassLoader classLoader, Subject subject)
public void invoke(A event)
ListenerInvocation
invoke
in interface ListenerInvocation<A>
public Object getTarget()
ListenerInvocation
getTarget
in interface ListenerInvocation<A>
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.