|
||||||||||
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.corona.collaboration.Activator
public class Activator
OSGi Bundle Activator for Corona Collaboration
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 Activator |
getDefault()
Get the singleton instance of the Collaboration's BundleActivator |
ICollaborationEventAdmin |
getEventAdmin()
Get the Collaboration Event Administator |
static CoronaLogService |
getLogService()
Get the Corona log service for this plug-in |
void |
handleEvent(org.osgi.service.event.Event event)
Handle all Collaboration events This event handler will forward the collaboration event to all CollaborationEventRouter's. |
void |
postEvent(CollaborationEvent collabEvent)
Post a Collaboration Event to the OSGi event service. |
void |
sendEvent(CollaborationEvent collabEvent)
Send a Collaboration Event. |
void |
setDebugging(boolean value)
|
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, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, shutdown, startup, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Activator()
Method Detail |
---|
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.core.runtime.Plugin
java.lang.Exception
BundleActivator.start(org.osgi.framework.BundleContext)
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.core.runtime.Plugin
java.lang.Exception
BundleActivator.stop(org.osgi.framework.BundleContext)
public static Activator getDefault()
public static CoronaLogService getLogService()
public ICollaborationEventAdmin getEventAdmin()
public void postEvent(CollaborationEvent collabEvent)
ICollaborationEventAdmin
postEvent
in interface ICollaborationEventAdmin
collabEvent
- is the collaboration event to be posted.EventAdmin.postEvent(Event)
public void sendEvent(CollaborationEvent collabEvent)
sendEvent
in interface ICollaborationEventAdmin
collabEvent
- is the collaboration event to be posted.EventAdmin.sendEvent(Event)
public void handleEvent(org.osgi.service.event.Event event)
handleEvent
in interface org.osgi.service.event.EventHandler
event
- public void setDebugging(boolean value)
setDebugging
in class org.eclipse.core.runtime.Plugin
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |