org.eclipse.corona.collaboration.ecf.container
Class Activator

java.lang.Object
  extended by org.eclipse.corona.collaboration.ecf.container.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends java.lang.Object
implements org.osgi.framework.BundleActivator


Constructor Summary
Activator()
           
 
Method Summary
static Activator getDefault()
          Retrieve the single instance of the bundle.
static CoronaLogService getLogService()
          Get the Corona log service for this plug-in
 void start(org.osgi.framework.BundleContext context)
          This method is called upon bundle activation.
 void stop(org.osgi.framework.BundleContext context)
          This method is called when the bundle is stopped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

getLogService

public static CoronaLogService getLogService()
Get the Corona log service for this plug-in

Returns:

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
This method is called upon bundle activation.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
context - An instance of BundleContext for the bundle being started.
Throws:
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
This method is called when the bundle is stopped.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
context - An instance of BundleContext for the bundle being started.
Throws:
java.lang.Exception

getDefault

public static Activator getDefault()
Retrieve the single instance of the bundle.

Returns:
The instance of this bundle.

Copyright 2006 IBM Corporation and others.
All Rights Reserved.