|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.tc.logging.Configurator
public abstract class 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| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] FRAMEWORK
|
[sap.com] tc/ddic/ddicruntime
|
[sap.com] ENGINEAPI
|
[sap.com] tc/logging
|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/logging/api
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.lib
|
[sap.com] BRMS-FACADE
|
[sap.com] tc/brms/facade
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||