Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.util
Class AbstractRuntimeProxy

java.lang.Object
  extended by com.ibm.etools.systems.application.util.AbstractRuntimeProxy

public class AbstractRuntimeProxy
extends Object

This class can be used to act as a proxy between code in the plug-in and the runtime environment so that the code can easily be reused outside of the Eclipse workbench.


Field Summary
static String copyright
           
 
Constructor Summary
AbstractRuntimeProxy()
           
 
Method Summary
 ILogger getLogger()
          Get the logger.
 void logError(String message)
          Log an error message to the log
 void logError(String message, Throwable exception)
          Log an error message and exception to the log
 void logInfo(String message)
          Write an informational message to the log
 void logWarning(String message)
          Log a warning message to the log
 void setLogger(ILogger logger)
          Set the logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

AbstractRuntimeProxy

public AbstractRuntimeProxy()
Method Detail

setLogger

public void setLogger(ILogger logger)
Set the logger.


getLogger

public ILogger getLogger()
Get the logger.


logInfo

public void logInfo(String message)
Write an informational message to the log


logWarning

public void logWarning(String message)
Log a warning message to the log


logError

public void logError(String message)
Log an error message to the log


logError

public void logError(String message,
                     Throwable exception)
Log an error message and exception to the log


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.