public class PublishingServiceFactory extends Object implements org.osgi.framework.ServiceFactory
| Constructor and Description |
|---|
PublishingServiceFactory(LazyTargetResolver targetResolver,
Class<?>[] classes,
boolean createTCCLProxy,
ClassLoader classLoader,
ClassLoader aopClassLoader,
org.osgi.framework.BundleContext bundleContext)
Constructs a new
PublishingServiceFactory instance. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration serviceRegistration) |
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration serviceRegistration,
Object service) |
public PublishingServiceFactory(LazyTargetResolver targetResolver, Class<?>[] classes, boolean createTCCLProxy, ClassLoader classLoader, ClassLoader aopClassLoader, org.osgi.framework.BundleContext bundleContext)
PublishingServiceFactory instance. Since its an internal class, this constructor
accepts a number of parameters to sacrifice readability for thread-safety.classes - target - beanFactory - targetBeanName - createTCCLProxy - classLoader - aopClassLoader - bundleContext - public Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration)
getService in interface org.osgi.framework.ServiceFactorypublic void ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration serviceRegistration,
Object service)
ungetService in interface org.osgi.framework.ServiceFactoryCopyright © 2006-2013. All Rights Reserved.