public class OpenbisServiceFacadeFactory extends java.lang.Object implements IOpenbisServiceFacadeFactory
IOpenbisServiceFacade
instances.Modifier and Type | Field and Description |
---|---|
static OpenbisServiceFacadeFactory |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static IOpenbisServiceFacade |
tryCreate(java.lang.String sessionToken,
java.lang.String openbisUrl,
long timeoutInMillis)
Creates an
OpenbisServiceFacade instance that can be used to interact with an openBIS
backend. |
static IOpenbisServiceFacade |
tryCreate(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. |
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. |
public static OpenbisServiceFacadeFactory INSTANCE
public IOpenbisServiceFacade tryToCreate(java.lang.String sessionToken, java.lang.String openbisUrl, long timeoutInMillis)
IOpenbisServiceFacadeFactory
OpenbisServiceFacade
instance that can be used to interact with an openBIS
backend.tryToCreate
in interface IOpenbisServiceFacadeFactory
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.public IOpenbisServiceFacade tryToCreate(java.lang.String username, java.lang.String password, java.lang.String openbisUrl, long timeoutInMillis)
IOpenbisServiceFacadeFactory
OpenbisServiceFacade
instance that can be used to interact with an openBIS
backend.tryToCreate
in interface IOpenbisServiceFacadeFactory
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.public static IOpenbisServiceFacade tryCreate(java.lang.String username, java.lang.String password, java.lang.String openbisUrl, long timeoutInMillis)
OpenbisServiceFacade
instance that can be used to interact with an openBIS
backend.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.public static IOpenbisServiceFacade tryCreate(java.lang.String sessionToken, java.lang.String openbisUrl, long timeoutInMillis)
OpenbisServiceFacade
instance that can be used to interact with an openBIS
backend.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.