public class AdminConnectionManager
extends java.lang.Object
Constructor and Description |
---|
AdminConnectionManager(com.caplin.ret.trapi.connection.ConnectionManager<com.caplin.ret.trapi.connection.AdminConnection> connectionManager) |
Modifier and Type | Method and Description |
---|---|
void |
connect()
Establishes a connection to the Admin API.
|
com.caplin.ret.trapi.connection.AdminConnection |
getAdminConnection()
Getter for property 'adminConnection'.
|
com.caplin.ret.trapi.admin.AdminService |
getAdminService()
Getter for property 'adminService'.
|
PermissionService |
getPermissionService()
Getter for property 'permissionsProvider'.
|
void |
refresh()
Refreshes the Admin API's internal caches to force a reload from the database.
|
public AdminConnectionManager(com.caplin.ret.trapi.connection.ConnectionManager<com.caplin.ret.trapi.connection.AdminConnection> connectionManager)
public com.caplin.ret.trapi.connection.AdminConnection getAdminConnection()
public com.caplin.ret.trapi.admin.AdminService getAdminService()
public PermissionService getPermissionService()
public void connect() throws com.caplin.ret.trapi.exception.ConnectionException
com.caplin.ret.trapi.exception.ConnectionException
- throw by the delegate if the connection fails.public void refresh()
Copyright © 2019 Caplin Systems.