Package com.atlassian.plugin.osgi.bridge
Class PluginRetrievalServiceFactory
java.lang.Object
com.atlassian.plugin.osgi.bridge.PluginRetrievalServiceFactory
- All Implemented Interfaces:
org.osgi.framework.ServiceFactory
public class PluginRetrievalServiceFactory
extends Object
implements org.osgi.framework.ServiceFactory
Provides instances of
PluginRetrievalService, tailed for the consumer.- Since:
- 2.6.0
-
Constructor Summary
ConstructorsConstructorDescriptionPluginRetrievalServiceFactory(com.atlassian.plugin.PluginAccessor pluginAccessor) -
Method Summary
Modifier and TypeMethodDescriptiongetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration) voidungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration, Object o)
-
Constructor Details
-
PluginRetrievalServiceFactory
public PluginRetrievalServiceFactory(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
getService
public Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration) - Specified by:
getServicein interfaceorg.osgi.framework.ServiceFactory
-
ungetService
public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration serviceRegistration, Object o) - Specified by:
ungetServicein interfaceorg.osgi.framework.ServiceFactory
-