org.ceno.communication.cli.net4j.internal
Class Activator

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.ceno.communication.cli.net4j.internal.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends org.eclipse.core.runtime.Plugin

Cares about the Net4J Lifecycle

Since:
0.0.1
Version:
0.0.1
Author:
Andre Albert <andre.albert82@googlemail.com>

Field Summary
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
Activator()
           
 
Method Summary
static Net4JConnectorService getCurrentConnector()
           
static void log(int severity, java.lang.String message)
           
static void log(int severity, java.lang.String message, java.lang.Throwable throwable)
           
static void setConnector(Net4JConnectorService connector)
           
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class org.eclipse.core.runtime.Plugin
Throws:
java.lang.Exception

getCurrentConnector

public static Net4JConnectorService getCurrentConnector()

setConnector

public static void setConnector(Net4JConnectorService connector)

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Overrides:
stop in class org.eclipse.core.runtime.Plugin
Throws:
java.lang.Exception

log

public static void log(int severity,
                       java.lang.String message)

log

public static void log(int severity,
                       java.lang.String message,
                       java.lang.Throwable throwable)