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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_loggerContext
protected static ILoggerContext m_loggerContext
m_version
protected static java.lang.String m_version
m_resources
protected static IPortalRuntimeResources m_resources
PortalRuntime
protected PortalRuntime()
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