ch.systemsx.cisd.openbis.dss.client.api.v1
Interface IOpenbisServiceFacadeFactory

All Known Implementing Classes:
OpenbisServiceFacadeFactory

public interface IOpenbisServiceFacadeFactory


Method Summary
 IOpenbisServiceFacade tryToCreate(java.lang.String sessionToken, java.lang.String openbisUrl, long timeoutInMillis)
          Creates an OpenbisServiceFacade instance that can be used to interact with an openBIS backend.
 IOpenbisServiceFacade tryToCreate(java.lang.String username, java.lang.String password, java.lang.String openbisUrl, long timeoutInMillis)
          Creates an OpenbisServiceFacade instance that can be used to interact with an openBIS backend.
 

Method Detail

tryToCreate

IOpenbisServiceFacade tryToCreate(java.lang.String username,
                                  java.lang.String password,
                                  java.lang.String openbisUrl,
                                  long timeoutInMillis)
Creates an OpenbisServiceFacade instance that can be used to interact with an openBIS backend.

Parameters:
username - an openBIS user id.
password - a password corresponding to the username parameter.
openbisUrl - the HTTP url of the remote openBIS server e.g. https://openbis.ethz.ch/openbis/
timeoutInMillis - a remote-call timeout.

tryToCreate

IOpenbisServiceFacade tryToCreate(java.lang.String sessionToken,
                                  java.lang.String openbisUrl,
                                  long timeoutInMillis)
Creates an OpenbisServiceFacade instance that can be used to interact with an openBIS backend.

Parameters:
sessionToken - token for existing sesstion in openBIS.
openbisUrl - the HTTP url of the remote openBIS server e.g. https://openbis.ethz.ch/openbis/
timeoutInMillis - a remote-call timeout.