Package org.openas2.osgi
Class Activator
- java.lang.Object
-
- org.openas2.osgi.Activator
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class Activator extends java.lang.Object implements org.osgi.framework.BundleActivator
-
-
Field Summary
Fields Modifier and Type Field Description private static org.osgi.framework.BundleContext
context
private org.osgi.framework.ServiceRegistration<?>
openAS2Registration
-
Constructor Summary
Constructors Constructor Description Activator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static org.osgi.framework.BundleContext
getContext()
void
start(org.osgi.framework.BundleContext bundleContext)
void
stop(org.osgi.framework.BundleContext bundleContext)
-
-
-
Method Detail
-
getContext
static org.osgi.framework.BundleContext getContext()
-
start
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Throws:
java.lang.Exception
-
stop
public void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Throws:
java.lang.Exception
-
-