public class OsgiPersistenceProviderService extends Object implements org.osgi.framework.ServiceFactory
OsgiSessionFactoryService.  This class is similar, providing an
 PersistenceProvider as an OSGi Service.| Constructor and Description | 
|---|
OsgiPersistenceProviderService(OsgiClassLoader osgiClassLoader,
                              OsgiJtaPlatform osgiJtaPlatform,
                              OsgiServiceUtil osgiServiceUtil)
Constructs a OsgiPersistenceProviderService 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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)  | 
public OsgiPersistenceProviderService(OsgiClassLoader osgiClassLoader, OsgiJtaPlatform osgiJtaPlatform, OsgiServiceUtil osgiServiceUtil)
osgiClassLoader - The OSGi-specific ClassLoader created in HibernateBundleActivatorosgiJtaPlatform - The OSGi-specific JtaPlatform created in HibernateBundleActivatorcontext - The OSGi contextpublic Object getService(org.osgi.framework.Bundle requestingBundle, org.osgi.framework.ServiceRegistration registration)
getService in interface org.osgi.framework.ServiceFactorypublic void ungetService(org.osgi.framework.Bundle requestingBundle,
                org.osgi.framework.ServiceRegistration registration,
                Object service)
ungetService in interface org.osgi.framework.ServiceFactoryCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.