Registry.Impl| Constructor and Description |
|---|
Impl(Ice.Communicator ic) |
| 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. |
omero.api.ServiceFactoryPrx |
getInternalServiceFactory(String user,
String group,
int retries,
int interval,
String client_uuid)
Try to return a ServiceFactory from the grid.
|
omero.grid.ClusterNodePrx[] |
lookupClusterNodes()
Returns all found cluster nodes or null if something goes wrong during
lookup (null
QueryPrx for example) |
omero.grid.monitors.MonitorServerPrx[] |
lookupMonitorServers() |
omero.grid.ProcessorPrx[] |
lookupProcessors() |
omero.grid.InternalRepositoryPrx[] |
lookupRepositories() |
omero.grid.TablesPrx[] |
lookupTables() |
void |
removeObject(Ice.Identity id) |
boolean |
removeObjectSafely(Ice.Identity id) |
public omero.api.ServiceFactoryPrx getInternalServiceFactory(String user, String group, int retries, int interval, String client_uuid) throws Exception
Registrycommunicator := Ice.Communicator used to find the registry user := Username which should have a session created group := 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
getInternalServiceFactory in interface RegistryExceptionpublic IceGrid.QueryPrx getGridQuery()
RegistryQueryPrx or null if none is available.getGridQuery in interface Registrypublic IceGrid.AdminSessionPrx getAdminSession()
throws IceGrid.PermissionDeniedException
RegistryAdminSessionPrx with the
RegistryPrx. Consumers are required to properly
SessionPrx.destroy() the returned session.getAdminSession in interface RegistryIceGrid.PermissionDeniedExceptionpublic void addObject(Ice.ObjectPrx obj)
throws Exception
public void removeObject(Ice.Identity id)
throws Exception
removeObject in interface RegistryExceptionpublic boolean removeObjectSafely(Ice.Identity id)
removeObjectSafely in interface Registrypublic omero.grid.ClusterNodePrx[] lookupClusterNodes()
RegistryQueryPrx for example)lookupClusterNodes in interface Registrypublic omero.grid.ProcessorPrx[] lookupProcessors()
lookupProcessors in interface Registrypublic omero.grid.TablesPrx[] lookupTables()
lookupTables in interface Registrypublic omero.grid.InternalRepositoryPrx[] lookupRepositories()
lookupRepositories in interface Registrypublic omero.grid.monitors.MonitorServerPrx[] lookupMonitorServers()
lookupMonitorServers in interface Registry
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.