com.atlassian.crowd.integration.rest.service.factory
Class RestCrowdClientFactory

java.lang.Object
  extended by com.atlassian.crowd.integration.rest.service.factory.RestCrowdClientFactory
All Implemented Interfaces:
CrowdClientFactory

public class RestCrowdClientFactory
extends Object
implements CrowdClientFactory

Factory class for creating a new instance of CrowdClient using REST.


Constructor Summary
RestCrowdClientFactory()
           
 
Method Summary
 CrowdClient newInstance(ClientProperties clientProperties)
          Constructs a new Crowd Client instance from the client properties.
 CrowdClient newInstance(String url, String applicationName, String applicationPassword)
          Construct a new Crowd Client instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestCrowdClientFactory

public RestCrowdClientFactory()
Method Detail

newInstance

public CrowdClient newInstance(String url,
                               String applicationName,
                               String applicationPassword)
Description copied from interface: CrowdClientFactory
Construct a new Crowd Client instance.

Specified by:
newInstance in interface CrowdClientFactory
Parameters:
url - URL of the remote Crowd server.
applicationName - The application name of the connecting application.
applicationPassword - The password of the connecting application.
Returns:
new instance of CrowdClient

newInstance

public CrowdClient newInstance(ClientProperties clientProperties)
Description copied from interface: CrowdClientFactory
Constructs a new Crowd Client instance from the client properties.

Specified by:
newInstance in interface CrowdClientFactory
Parameters:
clientProperties - all the properties needed to initialise the client.
Returns:
new instance of CrowdClient


Copyright © 2013 Atlassian. All Rights Reserved.