com.atlassian.jira.rest.client.plugin
Class MetadataRestClientServiceFactory

java.lang.Object
  extended by com.atlassian.jira.rest.client.plugin.MetadataRestClientServiceFactory
All Implemented Interfaces:
org.osgi.framework.ServiceFactory

@PublicComponent(value=com.atlassian.jira.rest.client.api.MetadataRestClient.class)
public final class MetadataRestClientServiceFactory
extends Object


Constructor Summary
MetadataRestClientServiceFactory()
           
 
Method Summary
protected  com.atlassian.httpclient.api.HttpClient getHttpClient(org.osgi.framework.Bundle bundle)
           
 Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)
           
protected  MetadataRestClient getService(URI baseUri, com.atlassian.httpclient.api.HttpClient httpClient)
           
 void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, Object service)
          No-op.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataRestClientServiceFactory

public MetadataRestClientServiceFactory()
Method Detail

getService

protected MetadataRestClient getService(URI baseUri,
                                        com.atlassian.httpclient.api.HttpClient httpClient)

getService

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

ungetService

public final void ungetService(org.osgi.framework.Bundle bundle,
                               org.osgi.framework.ServiceRegistration registration,
                               Object service)
No-op.

Specified by:
ungetService in interface org.osgi.framework.ServiceFactory

getHttpClient

protected final com.atlassian.httpclient.api.HttpClient getHttpClient(org.osgi.framework.Bundle bundle)


Copyright © 2012 Atlassian. All Rights Reserved.