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, switchInstancepublic RestDBSession(String instance, String hostname, int port) throws JasDBStorageException
JasDBStorageExceptionpublic RestDBSession(String instance, String hostname, Credentials credentials, int sslPort) throws JasDBStorageException
JasDBStorageExceptionpublic RestDBSession(String instance, String hostname, Credentials credentials, int sslPort, boolean verifyCertificate) throws JasDBStorageException
JasDBStorageExceptionpublic EntityManager getEntityManager()
DBSessionprotected void authenticate(Credentials credentials) throws JasDBStorageException
authenticate in class DBConnectorSessionJasDBStorageExceptionprotected RemotingContext getContext()
getContext in class DBConnectorSessionpublic static NodeInformation createNodeInformation(String hostname, boolean ssl, boolean verifyCert, int port)
Copyright © 2015. All rights reserved.