|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sap.tc.logging.Configurator
Configures the Logging API according to its settings. The configuration is done on demand but it is possible to instruct the configurator to redo it with a specific periodicity.
| Method Summary | |
abstract void |
configure()
Configures tracing and logging according to the settings of the configurator. |
java.lang.ClassLoader |
getClassLoader()
Gets the class loader that is responsible for loading custom classes in this configurator. |
java.lang.Exception |
getException()
Fetches the last exception thrown |
int |
getPeriodicity()
Gets the periodicity of this configurator in minutes. |
void |
setClassLoader(java.lang.ClassLoader classLoader)
Sets the class loader that is responsible for loading custom classes in this configurator. |
void |
setPeriodicity(int mins)
Sets the periodicity of this configurator in minutes. |
void |
throwException()
Rethrows the last exception thrown. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public abstract void configure()
public java.lang.ClassLoader getClassLoader()
setClassLoader(java.lang.ClassLoader)public void setClassLoader(java.lang.ClassLoader classLoader)
Filter.classLoader - Class loader used for loading custom classesgetClassLoader()public int getPeriodicity()
0 means that the configurator is not called automatically.public void setPeriodicity(int mins)
configure() will be automatically called every mins.
Setting the periodicity to 0 turns off that automatic call.mins - Periodicity of configurator in minutespublic java.lang.Exception getException()
throwException()
public void throwException()
throws java.lang.Exception
java.lang.Exception - Last exception throwngetException()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||