|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.bm.event.AbstractEventProcessor
public abstract class AbstractEventProcessor
Basic services for the event processor implementations
'good practice' notes for documenting behaviour.
| Field Summary | |
|---|---|
protected static long |
DEFAULT_WARN_DELAY
|
protected org.apache.commons.logging.Log |
logger
Resource for derived classes to use for logging |
| Constructor Summary | |
|---|---|
AbstractEventProcessor()
Default constructor |
|
| Method Summary | |
|---|---|
long |
getWarnDelay()
Provide a hint for the processing framework on how much time should elapse before the warnings need to be issued over the delay |
void |
register()
Register this instance for the event names that are handled. |
void |
setBeanName(String beanName)
|
void |
setEventName(String eventName)
Set the single event name that this processor can handle |
void |
setEventNames(List<String> eventNames)
Set the names of the events that this processor can handle |
void |
setRegistry(EventProcessorRegistry registry)
Inject the registry that this instance will register with. |
void |
setWarnDelay(long warnDelay)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.alfresco.bm.event.EventProcessor |
|---|
processEvent |
| Field Detail |
|---|
protected static final long DEFAULT_WARN_DELAY
protected org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public AbstractEventProcessor()
| Method Detail |
|---|
public void setBeanName(String beanName)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic void setEventName(String eventName)
public void setEventNames(List<String> eventNames)
public void setRegistry(EventProcessorRegistry registry)
register with.
public long getWarnDelay()
EventProcessor
getWarnDelay in interface EventProcessorDEFAULT_WARN_DELAY)public void setWarnDelay(long warnDelay)
warnDelay - the time allowed for processing before a warning is loggedgetWarnDelay()public void register()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||