public interface ReportContext
Modifier and Type | Method and Description |
---|---|
Calendar |
getCalendar(String name,
String timezone)
This method returns the named calendar configured for the
specified timezone.
|
Object |
getService(Class<?> cls)
This method locates a service based on the supplied
type.
|
Object |
getService(String name)
This method locates a service based on the supplied
name.
|
void |
logDebug(String mesg)
This method logs a debug message.
|
void |
logError(String mesg)
This method logs an error message.
|
void |
logInfo(String mesg)
This method logs an info message.
|
void |
logWarning(String mesg)
This method logs a warning message.
|
Object getService(String name)
name
- The nameObject getService(Class<?> cls)
cls
- The class for the serviceCalendar getCalendar(String name, String timezone)
name
- The calendar nametimezone
- The timezone, or null if the default should be usedvoid logError(String mesg)
mesg
- The errorvoid logWarning(String mesg)
mesg
- The warningvoid logInfo(String mesg)
mesg
- The infovoid logDebug(String mesg)
mesg
- The debugCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.