public class ProviderPrototypeServiceFactory
extends java.lang.Object
implements org.osgi.framework.PrototypeServiceFactory
Constructor and Description |
---|
ProviderPrototypeServiceFactory(java.lang.Class<?> cls) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration) |
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration,
java.lang.Object service) |
public ProviderPrototypeServiceFactory(java.lang.Class<?> cls)
public java.lang.Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)
getService
in interface org.osgi.framework.PrototypeServiceFactory
getService
in interface org.osgi.framework.ServiceFactory
public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, java.lang.Object service)
ungetService
in interface org.osgi.framework.PrototypeServiceFactory
ungetService
in interface org.osgi.framework.ServiceFactory
Copyright © 2009-2019 The Apache Software Foundation. All Rights Reserved.