public class EventListenerDescriptor extends Object
Constructor and Description |
---|
EventListenerDescriptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptEvent(String eventName) |
EventListener |
asEventListener() |
PostCommitEventListener |
asPostCommitListener() |
Set<String> |
getEvents() |
boolean |
getIsAsync() |
String |
getName() |
int |
getPriority() |
RuntimeContext |
getRuntimeContext() |
Script |
getScript() |
Integer |
getTransactionTimeout() |
void |
initListener() |
boolean |
isEnabled() |
boolean |
isSingleThreaded() |
void |
merge(EventListenerDescriptor other) |
void |
setEnabled(boolean isEnabled) |
void |
setEvents(Set<String> events) |
void |
setIsAsync(Boolean isAsync) |
void |
setRuntimeContext(RuntimeContext rc) |
public static final Log log
public int getPriority()
public void setRuntimeContext(RuntimeContext rc)
public RuntimeContext getRuntimeContext()
public boolean isEnabled()
public void setEnabled(boolean isEnabled)
public EventListener asEventListener()
public PostCommitEventListener asPostCommitListener()
public String getName()
public Integer getTransactionTimeout()
public void merge(EventListenerDescriptor other)
public final boolean acceptEvent(String eventName)
public void setIsAsync(Boolean isAsync)
public boolean getIsAsync()
public boolean isSingleThreaded()
Copyright © 2011 Nuxeo SA. All Rights Reserved.