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. |
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) |
public ServiceFactoryPrx getInternalServiceFactory(java.lang.String user, java.lang.Long groupId, int retries, int interval, java.lang.String client_uuid) throws java.lang.Exception
Registryuser := 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
getInternalServiceFactory in interface Registryjava.lang.Exceptionpublic 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 java.lang.Exception
public void removeObject(Ice.Identity id)
throws java.lang.Exception
removeObject in interface Registryjava.lang.Exceptionpublic boolean removeObjectSafely(Ice.Identity id)
removeObjectSafely in interface Registrypublic ClusterNodePrx[] lookupClusterNodes()
RegistryQueryPrx for example)lookupClusterNodes in interface Registrypublic ProcessorPrx[] lookupProcessors()
lookupProcessors in interface Registrypublic TablesPrx[] lookupTables()
lookupTables in interface Registrypublic InternalRepositoryPrx[] lookupRepositories()
lookupRepositories in interface Registrypublic MonitorServerPrx[] lookupMonitorServers()
lookupMonitorServers in interface Registry