Registry.Impl
Constructor and Description |
---|
Registry.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
Registry
communicator := 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 Registry
Exception
public IceGrid.QueryPrx getGridQuery()
Registry
QueryPrx
or null if none is available.getGridQuery
in interface Registry
public IceGrid.AdminSessionPrx getAdminSession() throws IceGrid.PermissionDeniedException
Registry
AdminSessionPrx
with the
RegistryPrx
. Consumers are required to properly
SessionPrx.destroy()
the returned session.getAdminSession
in interface Registry
IceGrid.PermissionDeniedException
public void addObject(Ice.ObjectPrx obj) throws Exception
public void removeObject(Ice.Identity id) throws Exception
removeObject
in interface Registry
Exception
public boolean removeObjectSafely(Ice.Identity id)
removeObjectSafely
in interface Registry
public omero.grid.ClusterNodePrx[] lookupClusterNodes()
Registry
QueryPrx
for example)lookupClusterNodes
in interface Registry
public omero.grid.ProcessorPrx[] lookupProcessors()
lookupProcessors
in interface Registry
public omero.grid.TablesPrx[] lookupTables()
lookupTables
in interface Registry
public omero.grid.InternalRepositoryPrx[] lookupRepositories()
lookupRepositories
in interface Registry
public omero.grid.monitors.MonitorServerPrx[] lookupMonitorServers()
lookupMonitorServers
in interface Registry
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.