public abstract class Participant extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<Class<? extends Annotation>,Method> |
lifecycleEventMap |
protected ServiceInvocationMeta |
serviceInvocationMeta |
protected List<Method> |
visibleMethods |
Constructor and Description |
---|
Participant(ServiceInvocationMeta serviceInvocationMeta,
Map txDataMap) |
Modifier and Type | Method and Description |
---|---|
protected Object |
invoke(Class<? extends Annotation> lifecycleEvent,
Object... args) |
protected void |
registerEventsOfInterest(Class<? extends Annotation>... lifecycleEvents) |
void |
resume() |
static void |
suspend() |
protected ServiceInvocationMeta serviceInvocationMeta
protected Map<Class<? extends Annotation>,Method> lifecycleEventMap
public Participant(ServiceInvocationMeta serviceInvocationMeta, Map txDataMap) throws ParticipantRegistrationException
ParticipantRegistrationException
public void resume()
public static void suspend()
protected void registerEventsOfInterest(Class<? extends Annotation>... lifecycleEvents)
protected Object invoke(Class<? extends Annotation> lifecycleEvent, Object... args)
Copyright © 2017 JBoss by Red Hat. All rights reserved.