Class EventImpl
- java.lang.Object
- 
- org.apache.tapestry5.internal.services.EventImpl
 
- 
- All Implemented Interfaces:
- Event
 - Direct Known Subclasses:
- ComponentEventImpl,- RenderPhaseEvent
 
 public class EventImpl extends java.lang.Object implements Event 
- 
- 
Field SummaryFields Modifier and Type Field Description protected OperationTrackertracker
 - 
Constructor SummaryConstructors Constructor Description EventImpl(ComponentEventCallback handler, org.slf4j.Logger logger, OperationTracker tracker)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetMethodDescription()booleanisAborted()Returns true if the event has been aborted (meaning that the return value from some event handler method was accepted, and processing of the event was terminated).voidsetMethodDescription(java.lang.String methodDescription)Invoke to identify, to the event, what component and method is being acted upon (used for some kinds of exception reporting).booleanstoreResult(java.lang.Object result)Stores a result for the event.
 
- 
- 
- 
Field Detail- 
trackerprotected final OperationTracker tracker 
 
- 
 - 
Constructor Detail- 
EventImplpublic EventImpl(ComponentEventCallback handler, org.slf4j.Logger logger, OperationTracker tracker) - Parameters:
- handler- informed of return values from methods, deems when the event is aborted
- logger- used to log method invocations
- tracker-
 
 
- 
 - 
Method Detail- 
isAbortedpublic boolean isAborted() Description copied from interface:EventReturns true if the event has been aborted (meaning that the return value from some event handler method was accepted, and processing of the event was terminated).
 - 
setMethodDescriptionpublic void setMethodDescription(java.lang.String methodDescription) Description copied from interface:EventInvoke to identify, to the event, what component and method is being acted upon (used for some kinds of exception reporting).- Specified by:
- setMethodDescriptionin interface- Event
- Parameters:
- methodDescription- describes the location (i.e. file name, method name and line number) of the method
 
 - 
storeResultpublic boolean storeResult(java.lang.Object result) Description copied from interface:EventStores a result for the event. Storing a non-null result value may abort the event (at the discretion of theComponentEventCallback).- Specified by:
- storeResultin interface- Event
- Parameters:
- result- the result obtained from a method invocations
- Returns:
- true if the event is now aborted
 
 - 
getMethodDescriptionprotected java.lang.String getMethodDescription() 
 
- 
 
-