Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.services.ifs
Class IFSServicePlugin

java.lang.Object
  extended by SystemBasePlugin
      extended by com.ibm.etools.iseries.services.ifs.IFSServicePlugin

public class IFSServicePlugin
extends SystemBasePlugin

The activator class controls the plug-in life cycle


Field Summary
static String PLUGIN_ID
           
 
Constructor Summary
IFSServicePlugin()
          The constructor
 
Method Summary
static IFSServicePlugin getDefault()
          Returns the shared instance
 Logger getLogger()
          Returns an instance of the logger being used by the core.
protected  void initializeImageRegistry()
           
 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
Constructor Detail

IFSServicePlugin

public IFSServicePlugin()
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 IFSServicePlugin getDefault()
Returns the shared instance

Returns:
the shared instance

getLogger

public Logger getLogger()
Returns an instance of the logger being used by the core. All core services, or extensions to core services, should use this logger to log any messages. The RSE logger provides run-time filtering according to user preference and uses the platform's logging capabilities. RSE services should use this logger rather than a platform logger. The logger is defined at plugin start and should always be available.

Returns:
the instance of System#Logger used by the core RSE

initializeImageRegistry

protected void initializeImageRegistry()

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.