|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.rse.core.RSECorePlugin
public class RSECorePlugin
RSECorePlugin provides the activation for the RSE core and acts as the primary registry for logging, persistence, and the main RSE service registries. It should not be extended by other classes.
| Field Summary | |
|---|---|
static int |
CURRENT_RELEASE
Current release as a number (multiplied by 100). |
static String |
CURRENT_RELEASE_NAME
Current release as a string. |
| Fields inherited from class org.eclipse.core.runtime.Plugin |
|---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
|---|---|
RSECorePlugin()
The constructor. |
|
| Method Summary | |
|---|---|
IRSECoreRegistry |
getCoreRegistry()
Returns the RSE core registry. |
static RSECorePlugin |
getDefault()
Returns the singleton instance of RSECorePlugin. |
static String |
getLocalMachineIPAddress()
|
static String |
getLocalMachineName()
|
Logger |
getLogger()
Returns an instance of the logger being used by the core. |
IRSEPersistenceManager |
getPersistenceManager()
|
static String |
getQualifiedHostName(String hostName)
Returns a qualified host name given a potentially unqualified host name |
ISubSystemConfigurationProxy[] |
getSubSystemConfigurationProxies()
Return an array of SubSystemConfigurationProxy objects. |
ISystemRegistry |
getSystemRegistry()
Gets the system registry set by setSystemRegistry(ISystemRegistry). |
static IRSECoreRegistry |
getTheCoreRegistry()
A static convenience method - fully equivalent to RSECorePlugin.getDefault().getRegistry(). |
static IRSEPersistenceManager |
getThePersistenceManager()
A static convenience method - fully equivalent to RSECorePlugin.getDefault().getPersistenceManager(). |
static ISystemRegistry |
getTheSystemRegistry()
A static convenience method - fully equivalent to RSECorePlugin.getDefault().getSystemRegistry(). |
void |
setSystemRegistry(ISystemRegistry registry)
Sets the system registry. |
void |
start(BundleContext context)
|
void |
stop(BundleContext context)
|
| Methods inherited from class org.eclipse.core.runtime.Plugin |
|---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CURRENT_RELEASE
public static final String CURRENT_RELEASE_NAME
| Constructor Detail |
|---|
public RSECorePlugin()
| Method Detail |
|---|
public static RSECorePlugin getDefault()
public static IRSEPersistenceManager getThePersistenceManager()
RSECorePlugin.getDefault().getPersistenceManager().
public static IRSECoreRegistry getTheCoreRegistry()
RSECorePlugin.getDefault().getRegistry().
public static ISystemRegistry getTheSystemRegistry()
RSECorePlugin.getDefault().getSystemRegistry().
public static String getLocalMachineName()
public static String getLocalMachineIPAddress()
public static String getQualifiedHostName(String hostName)
public void start(BundleContext context)
throws Exception
start in interface BundleActivatorstart in class PluginException
public void stop(BundleContext context)
throws Exception
stop in interface BundleActivatorstop in class PluginExceptionpublic IRSEPersistenceManager getPersistenceManager()
public void setSystemRegistry(ISystemRegistry registry)
registry - the implementation of ISystemRegistry that the core should remember.public ISystemRegistry getSystemRegistry()
setSystemRegistry(ISystemRegistry).
This registry is used to gain access to the basic services and components used in
the RSE user interface.
public IRSECoreRegistry getCoreRegistry()
This may return null if the registry has not yet been set.
public Logger getLogger()
public ISubSystemConfigurationProxy[] getSubSystemConfigurationProxies()
|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||