org.glassfish.osgihttp
Class Activator
java.lang.Object
org.glassfish.osgihttp.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator
This is the entry point to our implementation of OSGi/HTTP service.
For every virtual server in the configuration, it creates HTTPService.
Every service has same context path. The context path can be defined
by user using configuration property org.glassfish.web.osgihttp.ContextPath.
If it is absent, we use a default value of "/osgi." After initializing
the HttpService factory with necessary details, we register the factory
OSGi service registry.
- Author:
- Sanjeeb.Sahoo@Sun.COM
|
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 |
Activator
public Activator()
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 © 2012 GlassFish Community. All Rights Reserved.