com.atlassian.plugin.osgi.bridge
Class PluginRetrievalServiceFactory

java.lang.Object
  extended by 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
PluginRetrievalServiceFactory(PluginAccessor pluginAccessor)
           
 
Method Summary
 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 o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginRetrievalServiceFactory

public PluginRetrievalServiceFactory(PluginAccessor pluginAccessor)
Method Detail

getService

public Object getService(org.osgi.framework.Bundle bundle,
                         org.osgi.framework.ServiceRegistration serviceRegistration)
Specified by:
getService in interface org.osgi.framework.ServiceFactory

ungetService

public void ungetService(org.osgi.framework.Bundle bundle,
                         org.osgi.framework.ServiceRegistration serviceRegistration,
                         Object o)
Specified by:
ungetService in interface org.osgi.framework.ServiceFactory


Copyright © 2010 Atlassian. All Rights Reserved.