org.nuxeo.opensocial.servlet
Class Activator
java.lang.Object
org.nuxeo.opensocial.servlet.Activator
- All Implemented Interfaces:
- java.util.EventListener, org.osgi.framework.BundleActivator, org.osgi.framework.FrameworkListener
public class Activator
- extends java.lang.Object
- implements org.osgi.framework.BundleActivator, org.osgi.framework.FrameworkListener
We cannot have two bundle activators so we use this single bundle activator.
Further, this insures that the init sequence happens in the right order.
- Author:
- Ian Smith
Method Summary |
void |
frameworkEvent(org.osgi.framework.FrameworkEvent event)
|
void |
start(org.osgi.framework.BundleContext context)
|
void |
stop(org.osgi.framework.BundleContext context)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, 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
- Throws:
java.lang.Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
java.lang.Exception
frameworkEvent
public void frameworkEvent(org.osgi.framework.FrameworkEvent event)
- Specified by:
frameworkEvent
in interface org.osgi.framework.FrameworkListener
Copyright © 2010 Nuxeo SAS. All Rights Reserved.