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

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

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


Constructor Summary
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  SessionRestClient 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

SessionRestClientServiceFactory

public SessionRestClientServiceFactory()
Method Detail

getService

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