org.eclipse.persistence.jpa.osgi
public class Activator extends Object implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
static org.osgi.framework.BundleContext |
getContext() |
void |
start(org.osgi.framework.BundleContext context)
On start, we do two things
We register a listener for bundles and we start our JPA server
|
void |
stop(org.osgi.framework.BundleContext context) |
public static org.osgi.framework.BundleContext getContext()
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
Exception