Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.projects.core
Class Activator

java.lang.Object
  extended by Plugin
      extended by com.ibm.etools.iseries.projects.core.Activator

public class Activator
extends Plugin

The activator class controls the plug-in life cycle


Field Summary
protected static Logger log
          Logger object for logging messages for servicing purposes.
static String PLUGIN_ID
           
 
Constructor Summary
Activator()
          The constructor
 
Method Summary
static Activator getDefault()
          Returns the shared instance
static void logError(String message)
           
static void logError(String message, Throwable ex)
           
static void logWarning(String message)
          Log warnings and errors to ILog for this plugin
static void logWarning(String message, Throwable ex)
           
 void start(BundleContext context)
           
 void stop(BundleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final String PLUGIN_ID
See Also:
Constant Field Values

log

protected static Logger log
Logger object for logging messages for servicing purposes.

Constructor Detail

Activator

public Activator()
The constructor

Method Detail

start

public void start(BundleContext context)
           throws Exception
Throws:
Exception

stop

public void stop(BundleContext context)
          throws Exception
Throws:
Exception

getDefault

public static Activator getDefault()
Returns the shared instance

Returns:
the shared instance

logWarning

public static void logWarning(String message)
Log warnings and errors to ILog for this plugin

Parameters:
message -

logWarning

public static void logWarning(String message,
                              Throwable ex)

logError

public static void logError(String message)

logError

public static void logError(String message,
                            Throwable ex)

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.