org.radrails.server.core
Class ServerPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.radrails.server.core.ServerPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

Plugin class for the server.core plugin.

Author:
mkent

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
ServerPlugin()
          Default constructor.
 
Method Summary
static ServerPlugin getInstance()
           
 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

ServerPlugin

public ServerPlugin()
Default constructor.

Method Detail

getInstance

public static ServerPlugin getInstance()
Returns:
the singleton instance of ServerPlugin

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
BundleActivator.start(org.osgi.framework.BundleContext)

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
BundleActivator.stop(org.osgi.framework.BundleContext)