|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ErrorLoggingService
This class represents a platform level service for the heavyweight logging of Errors
| Method Summary | |
|---|---|
void |
addErrorOccurrenceListener(ErrorOccurrenceListener errorOccurrenceListener)
Registers an ErrorOccurrenceListener as a listener for new ErrorOccurrence |
ErrorOccurrence |
getErrorOccurrence(long errorOccurrenceId)
Retrieve an ErrorOccurrence specified by its Id |
List<ErrorOccurrence> |
getErrorOccurrences(String eventId)
Returns all ErrorOccurrences for the event specified by its id |
PagedSearchResult<ErrorOccurrence> |
getErrors(int pageNo,
int pageSize,
String orderBy,
boolean orderAscending,
String moduleName,
String flowName)
Returns a paged listing of errors |
void |
housekeep()
Causes all ErrorOccurrences that are deemed to be too old to be deleted |
void |
logError(Throwable throwable,
String moduleName,
String initiatorName,
String actionTaken)
Logs an Error caused before there was an Event |
void |
logError(Throwable throwable,
String moduleName,
String flowName,
String flowElementName,
Event currentEvent,
String actionTaken)
Logs an Error where there is an inflight Event involved in a Flow |
void |
removeErrorOccurrenceListener(ErrorOccurrenceListener errorOccurrenceListener)
Deregisters an ErrorOccurrenceListener as a listener for new ErrorOccurrence |
| Method Detail |
|---|
void logError(Throwable throwable,
String moduleName,
String flowName,
String flowElementName,
Event currentEvent,
String actionTaken)
throwable - moduleName - flowName - flowElementName - currentEvent - actionTaken -
PagedSearchResult<ErrorOccurrence> getErrors(int pageNo,
int pageSize,
String orderBy,
boolean orderAscending,
String moduleName,
String flowName)
pageNo - - 0 or greater, index into the list of all possible resultspageSize - - 0 or greater, no of errors to return on a pageflowName - moduleName -
void logError(Throwable throwable,
String moduleName,
String initiatorName,
String actionTaken)
throwable - moduleName - initiatorName - actionTaken - ErrorOccurrence getErrorOccurrence(long errorOccurrenceId)
errorOccurrenceId -
void housekeep()
ErrorOccurrences that are deemed to be too old to be deleted
List<ErrorOccurrence> getErrorOccurrences(String eventId)
eventId -
void addErrorOccurrenceListener(ErrorOccurrenceListener errorOccurrenceListener)
ErrorOccurrenceListener as a listener for new ErrorOccurrence
errorOccurrenceListener - void removeErrorOccurrenceListener(ErrorOccurrenceListener errorOccurrenceListener)
ErrorOccurrenceListener as a listener for new ErrorOccurrence
errorOccurrenceListener -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||