public class OsgiSessionFactoryService extends Object implements org.osgi.framework.ServiceFactory
Constructor and Description |
---|
OsgiSessionFactoryService(OsgiJtaPlatform osgiJtaPlatform,
OsgiServiceUtil osgiServiceUtil)
Constructs a OsgiSessionFactoryService
|
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 OsgiSessionFactoryService(OsgiJtaPlatform osgiJtaPlatform, OsgiServiceUtil osgiServiceUtil)
osgiJtaPlatform
- The OSGi-specific JtaPlatform created in HibernateBundleActivatorosgiServiceUtil
- Util object built in HibernateBundleActivatorpublic Object getService(org.osgi.framework.Bundle requestingBundle, org.osgi.framework.ServiceRegistration registration)
getService
in interface org.osgi.framework.ServiceFactory
public void ungetService(org.osgi.framework.Bundle requestingBundle, org.osgi.framework.ServiceRegistration registration, Object service)
ungetService
in interface org.osgi.framework.ServiceFactory
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.