org.ceno.communication.cli.net4j.internal
Class Activator
java.lang.Object
org.eclipse.core.runtime.Plugin
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>
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
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 |
Activator
public Activator()
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)