org.glassfish.osgijpa.extension
Class OSGiJPAExtnBundleActivator

java.lang.Object
  extended by org.glassfish.osgijpa.extension.OSGiJPAExtnBundleActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class OSGiJPAExtnBundleActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator

This activator is responsible for setting persistence provider resolver that enables discovery of providers even if thread's context class loader is not properly set.

Author:
Sanjeeb.Sahoo@Sun.COM

Constructor Summary
OSGiJPAExtnBundleActivator()
           
 
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
 

Constructor Detail

OSGiJPAExtnBundleActivator

public OSGiJPAExtnBundleActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception


Copyright © 2011 GlassFish Community. All Rights Reserved.