com.sapportals.portal.prt.runtime
Class PortalRuntime

java.lang.Object
  |
  +--com.sapportals.portal.prt.runtime.PortalRuntime

public class PortalRuntime
extends java.lang.Object

PortalRuntime may be called by each class of the API package. It gives access to some resources like logging.


Field Summary
protected static ILoggerContext m_loggerContext
           
protected static IPortalRuntimeResources m_resources
           
protected static java.lang.String m_version
           
 
Constructor Summary
protected PortalRuntime()
           
 
Method Summary
static ILogger getLogger()
          Returns the
static ILogger getLogger(java.lang.String aLoggerName)
          Returns the
static IPortalRuntimeResources getRuntimeResources()
          provides access to an implementation of IPortalRuntimeResources to give access to resources maintained by the runtime implementation
static java.lang.String getVersion()
          Gets the version of the Workplace currently in use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_loggerContext

protected static ILoggerContext m_loggerContext

m_version

protected static java.lang.String m_version

m_resources

protected static IPortalRuntimeResources m_resources
Constructor Detail

PortalRuntime

protected PortalRuntime()
Method Detail

getLogger

public static ILogger getLogger(java.lang.String aLoggerName)
Returns the
Parameters:
aLoggerName - The logger name
Returns:
The logger associated to the logger name.

getLogger

public static ILogger getLogger()
Returns the
Returns:
The default logger.

getVersion

public static java.lang.String getVersion()
Gets the version of the Workplace currently in use

getRuntimeResources

public static IPortalRuntimeResources getRuntimeResources()
provides access to an implementation of IPortalRuntimeResources to give access to resources maintained by the runtime implementation
Returns:
An implementation of IPortalRuntimeResources