com.sap.tc.logging.interfaces

Interface IClassLoadRuntimeInfoProvider


public interface IClassLoadRuntimeInfoProvider

Defines the way CSN Component and DC Name properties are retrieved for each Location that is created


Method Summary
 String getCallerClassLoaderName()
           
 String getCsnComponent(ClassLoader classLoader)
           
 String getCsnComponent(String classLoaderName)
           
 String getDcName(ClassLoader classLoader)
           
 String getDcName(String classLoaderName)
           
 

Method Detail

getCsnComponent

String getCsnComponent(String classLoaderName)
Parameters:
classloaderName - Name of a ClassLoader to use for retrieving CSN Component
Returns:
CSN Component if successfully retreived or null if: 1. ClassLoader with provided name cannot be found 2. CSN component is not set for class loader with the name provided

getCsnComponent

String getCsnComponent(ClassLoader classLoader)
Parameters:
classLoader - ClassLoader to use for retrieving CSN Component
Returns:
CSN Component if successfully retreived or null if: 1. ClassLoader cannot be found 2. CSN component is not set for class loader provided

getDcName

String getDcName(String classLoaderName)
Parameters:
classloaderName - ClassLoader to use for retrieving DC Name
Returns:
DC Name if successfully retreived or null if: 1. ClassLoader with provided name cannot be found

getDcName

String getDcName(ClassLoader classLoader)
Parameters:
classloader - ClassLoader to use for retrieving DC Name
Returns:
DC Name if successfully retreived or null if: 1. ClassLoader cannot be found

getCallerClassLoaderName

String getCallerClassLoaderName()
Returns:
class loader name of the caller. May be null if the classLoader is a system loader, or is not registered by the class loader manager.
Access Rights

This class can be accessed from:


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


Copyright 2010 SAP AG Complete Copyright Notice