|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.
| Constructor Summary | |
protected |
Configurator()
|
protected |
Configurator(ClassLoader classLoader)
|
| Method Summary | |
abstract void |
configure()
Configures tracing and logging according to the settings of the configurator. |
ClassLoader |
getClassLoader()
Gets the class loader that is responsible for loading custom classes in this configurator. |
Exception |
getException()
Fetches the last exception thrown |
int |
getPeriodicity()
Gets the periodicity of this configurator in minutes. |
protected void |
handleException(Exception exc)
Handles exception. |
protected void |
resetException()
Resets exception. |
void |
setClassLoader(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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Configurator()
protected Configurator(ClassLoader classLoader)
| Method Detail |
public abstract void configure()
public ClassLoader getClassLoader()
setClassLoader(java.lang.ClassLoader)public void setClassLoader(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 Exception getException()
throwException()
public void throwException()
throws Exception
Exception - Last exception throwngetException()protected void resetException()
protected void handleException(Exception exc)
exc - Exception thrown
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||