public class Activator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ECLIPSELINK_OSGI_PROVIDER |
static java.lang.String |
MANIFEST_PU_LABEL |
static java.lang.String |
PERSISTENCE_PROVIDER |
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
void |
bundleChanged(BundleEvent event)
Simply add bundles to our bundle list as they start and remove them as they stop
|
static BundleContext |
getContext() |
void |
start(BundleContext context)
On start, we do two things We register a listener for bundles and we start our JPA server
|
void |
stop(BundleContext context) |
public static final java.lang.String MANIFEST_PU_LABEL
public static final java.lang.String PERSISTENCE_PROVIDER
public static final java.lang.String ECLIPSELINK_OSGI_PROVIDER
public static BundleContext getContext()
public void bundleChanged(BundleEvent event)
public void start(BundleContext context)
throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context)
throws java.lang.Exception
java.lang.Exception