org.eclipse.jetty.osgi.boot.jsp
Class FragmentActivator

java.lang.Object
  extended by org.eclipse.jetty.osgi.boot.jsp.FragmentActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class FragmentActivator
extends Object
implements org.osgi.framework.BundleActivator

Pseudo fragment activator. Called by the main org.eclipse.jetty.osgi.boot bundle. Please note: this is not a real BundleActivator. Simply something called back by the host bundle.

It must be placed in the org.eclipse.jetty.osgi.boot.jsp package: this is because org.eclipse.jetty.osgi.boot.jsp is the sympbolic-name of this fragment. From that name, the PackageadminTracker will call this class. IN a different package it won't be called.


Constructor Summary
FragmentActivator()
           
 
Method Summary
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FragmentActivator

public FragmentActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.