Class PersistenceActivator

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public class PersistenceActivator
    extends java.lang.Object
    implements org.osgi.framework.BundleActivator
    Used to discover/resolve JPA providers in an OSGi environment.
    Version:
    $Rev$ $Date$
    • Field Detail

      • PERSISTENCE_PROVIDER_ARIES

        public static final java.lang.String PERSISTENCE_PROVIDER_ARIES
        See Also:
        Constant Field Values
      • PERSISTENCE_PROVIDER

        public static final java.lang.String PERSISTENCE_PROVIDER
      • OSGI_PERSISTENCE_PROVIDER

        public static final java.lang.String OSGI_PERSISTENCE_PROVIDER
    • Constructor Detail

      • PersistenceActivator

        public PersistenceActivator()
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext ctx)
                   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 ctx)
                  throws java.lang.Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Throws:
        java.lang.Exception
      • getBundleClassLoader

        public static java.lang.ClassLoader getBundleClassLoader()