1 package com.atlassian.plugins.rest.module; 2 3 import org.osgi.framework.BundleContext; 4 import org.osgi.framework.ServiceReference; 5 6 public interface OsgiFactory<S> 7 { 8 S getInstance(BundleContext bundleContext, ServiceReference serviceReference); 9 }