org.hibernate.osgi
Class OsgiPersistenceProviderService

java.lang.Object
  extended by org.hibernate.osgi.OsgiPersistenceProviderService
All Implemented Interfaces:
org.osgi.framework.ServiceFactory

public class OsgiPersistenceProviderService
extends Object
implements org.osgi.framework.ServiceFactory

See the description on #OsgiSessionFactoryService. This class is similar, providing an PersistenceProvider as an OSGi Service.


Constructor Summary
OsgiPersistenceProviderService(OsgiClassLoader osgiClassLoader, OsgiJtaPlatform osgiJtaPlatform, org.osgi.framework.BundleContext context)
           
 
Method Summary
 Object getService(org.osgi.framework.Bundle requestingBundle, org.osgi.framework.ServiceRegistration registration)
           
 void ungetService(org.osgi.framework.Bundle requestingBundle, org.osgi.framework.ServiceRegistration registration, Object service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsgiPersistenceProviderService

public OsgiPersistenceProviderService(OsgiClassLoader osgiClassLoader,
                                      OsgiJtaPlatform osgiJtaPlatform,
                                      org.osgi.framework.BundleContext context)
Method Detail

getService

public Object getService(org.osgi.framework.Bundle requestingBundle,
                         org.osgi.framework.ServiceRegistration registration)
Specified by:
getService in interface org.osgi.framework.ServiceFactory

ungetService

public void ungetService(org.osgi.framework.Bundle requestingBundle,
                         org.osgi.framework.ServiceRegistration registration,
                         Object service)
Specified by:
ungetService in interface org.osgi.framework.ServiceFactory


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.