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

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

@PublicComponent(value=IssueRestClient.class)
public final class IssueRestClientServiceFactory
extends Object


Constructor Summary
IssueRestClientServiceFactory(MetadataRestClientServiceFactory metadataRestClientServiceFactory, SessionRestClientServiceFactory sessionRestClientServiceFactory)
           
 
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  IssueRestClient 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

IssueRestClientServiceFactory

@Inject
public IssueRestClientServiceFactory(MetadataRestClientServiceFactory metadataRestClientServiceFactory,
                                            SessionRestClientServiceFactory sessionRestClientServiceFactory)
Method Detail

getService

protected IssueRestClient 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.