com.sapportals.portal.prt.runtime

Class PortalRuntime

java.lang.Object
  extended by com.sapportals.portal.prt.runtime.PortalRuntime

public class PortalRuntime
extends 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 String m_version
           
 
Constructor Summary
protected PortalRuntime()
           
 
Method Summary
static ILogger getLogger()
          Returns the
static ILogger getLogger(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 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 String m_version

m_resources

protected static IPortalRuntimeResources m_resources
Constructor Detail

PortalRuntime

protected PortalRuntime()
Method Detail

getLogger

public static ILogger getLogger(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 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
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice