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

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

@PublicComponent(value=ProjectRestClient.class)
public final class ProjectRestClientServiceFactory
extends Object


Constructor Summary
ProjectRestClientServiceFactory()
           
 
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  ProjectRestClient 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

ProjectRestClientServiceFactory

public ProjectRestClientServiceFactory()
Method Detail

getService

protected ProjectRestClient 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 © 2013 Atlassian. All Rights Reserved.