EclipseLink 2.1.2, build 'v20101206-r8635' API Reference

org.eclipse.persistence.jpa.osgi
Class Activator

java.lang.Object
  extended by org.eclipse.persistence.jpa.osgi.Activator

public class Activator
extends java.lang.Object

Activator for JPA OSGi service. This activator has two potential sets of behavior If the org.eclipse.persistence.jpa.osgi fragment is available, it will forward calls to an Activator in that bundle that makes our OSGi support occur in an EclipseLink-specific way - as we shipped in our 2.0 release. In the absence of that fragment, this activator will behave in a way specific to the Eclipse Gemini project with allows EclipseLink to function as required by the OSGi JPA specification

Author:
tware

Field Summary
protected static BundleContext context
          Context is stored on this activator by its subclass for use in weaving.
 
Constructor Summary
Activator()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected static BundleContext context
Context is stored on this activator by its subclass for use in weaving.

Constructor Detail

Activator

public Activator()
Method Detail

getContext

public static BundleContext getContext()

start

public void start(BundleContext context)
           throws java.lang.Exception
On start, we do two things We register a listener for bundles and we start our JPA server

Throws:
java.lang.Exception

stop

public void stop(BundleContext context)
          throws java.lang.Exception
Throws:
java.lang.Exception

EclipseLink 2.1.2, build 'v20101206-r8635' API Reference