public class RestDBSession extends DBConnectorSession
Constructor and Description |
---|
RestDBSession(String instance,
String hostname,
Credentials credentials,
int sslPort) |
RestDBSession(String instance,
String hostname,
Credentials credentials,
int sslPort,
boolean verifyCertificate) |
RestDBSession(String instance,
String hostname,
int port) |
Modifier and Type | Method and Description |
---|---|
protected void |
authenticate(Credentials credentials) |
static NodeInformation |
createNodeInformation(String hostname,
boolean ssl,
boolean verifyCert,
int port) |
protected RemotingContext |
getContext() |
EntityManager |
getEntityManager()
Gets the entity manager that can be used for entity persistence
|
addAndSwitchInstance, addInstance, closeSession, createOrGetBag, createOrGetBag, deleteInstance, getBag, getBag, getBags, getBags, getInstance, getInstanceId, getInstances, getNodeInformation, getUserAdministration, removeBag, removeBag, switchInstance
public RestDBSession(String instance, String hostname, int port) throws JasDBStorageException
JasDBStorageException
public RestDBSession(String instance, String hostname, Credentials credentials, int sslPort) throws JasDBStorageException
JasDBStorageException
public RestDBSession(String instance, String hostname, Credentials credentials, int sslPort, boolean verifyCertificate) throws JasDBStorageException
JasDBStorageException
public EntityManager getEntityManager()
DBSession
protected void authenticate(Credentials credentials) throws JasDBStorageException
authenticate
in class DBConnectorSession
JasDBStorageException
protected RemotingContext getContext()
getContext
in class DBConnectorSession
public static NodeInformation createNodeInformation(String hostname, boolean ssl, boolean verifyCert, int port)
Copyright © 2015. All rights reserved.