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

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

@PublicComponent(value=ComponentRestClient.class)
public final class ComponentRestClientServiceFactory
extends Object


Constructor Summary
ComponentRestClientServiceFactory()
           
 
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  ComponentRestClient 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

ComponentRestClientServiceFactory

public ComponentRestClientServiceFactory()
Method Detail

getService

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