public interface Registry
RegistryPrx available within
OmeroBlitz. Responsible for properly authenticating to
IceGrid.Registry.AdminPermissionsVerifier.| Modifier and Type | Interface and Description |
|---|---|
static class |
Registry.Impl |
| Modifier and Type | Method and Description |
|---|---|
void |
addObject(Ice.ObjectPrx obj) |
IceGrid.AdminSessionPrx |
getAdminSession()
Create a new
AdminSessionPrx with the
RegistryPrx. |
IceGrid.QueryPrx |
getGridQuery()
Returns an active
QueryPrx or null if none is available. |
ServiceFactoryPrx |
getInternalServiceFactory(java.lang.String user,
java.lang.Long groupId,
int retries,
int interval,
java.lang.String client_uuid)
Try to return a ServiceFactory from the grid.
|
ClusterNodePrx[] |
lookupClusterNodes()
Returns all found cluster nodes or null if something goes wrong during
lookup (null
QueryPrx for example) |
MonitorServerPrx[] |
lookupMonitorServers() |
ProcessorPrx[] |
lookupProcessors() |
InternalRepositoryPrx[] |
lookupRepositories() |
TablesPrx[] |
lookupTables() |
void |
removeObject(Ice.Identity id) |
boolean |
removeObjectSafely(Ice.Identity id) |
ServiceFactoryPrx getInternalServiceFactory(java.lang.String user, java.lang.Long groupId, int retries, int interval, java.lang.String client_uuid) throws java.lang.Exception
user := Username which should have a session created groupId := Group into which the session should be logged retries := Number of session creation retries before throwing interval := Seconds between retries client_uuid := Uuid of the client which should be used
java.lang.ExceptionIceGrid.QueryPrx getGridQuery()
QueryPrx or null if none is available.IceGrid.AdminSessionPrx getAdminSession()
throws IceGrid.PermissionDeniedException
AdminSessionPrx with the
RegistryPrx. Consumers are required to properly
SessionPrx.destroy() the returned session.IceGrid.PermissionDeniedExceptionvoid addObject(Ice.ObjectPrx obj)
throws java.lang.Exception
java.lang.Exceptionvoid removeObject(Ice.Identity id)
throws java.lang.Exception
java.lang.Exceptionboolean removeObjectSafely(Ice.Identity id)
ClusterNodePrx[] lookupClusterNodes()
QueryPrx for example)ProcessorPrx[] lookupProcessors()
InternalRepositoryPrx[] lookupRepositories()
TablesPrx[] lookupTables()
MonitorServerPrx[] lookupMonitorServers()