Provides access to the
QueryPrx
and RegistryPrx
objects implemented by the IceGrid registry.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<OutgoingResponse>
dispatch
(IncomingRequest request) Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.getLocalQuery
(Current current) Gets a proxy to the query object hosted by this IceGrid registry.getLocalRegistry
(Current current) Gets a proxy to the registry object hosted by this IceGrid registry.static String
Gets the type ID of the associated Slice interface.Methods inherited from interface com.zeroc.Ice.Locator
findAdapterByIdAsync, findObjectByIdAsync, getRegistry
-
Method Details
-
getLocalRegistry
Gets a proxy to the registry object hosted by this IceGrid registry.- Parameters:
current
- The Current object of the incoming request.- Returns:
- A proxy to the registry object. This proxy is never null.
-
getLocalQuery
Gets a proxy to the query object hosted by this IceGrid registry.- Parameters:
current
- The Current object of the incoming request.- Returns:
- A proxy to the query object. This proxy is never null.
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceGrid::Locator"
-
dispatch
Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.- Specified by:
dispatch
in interfaceLocator
- Specified by:
dispatch
in interfaceObject
- Parameters:
request
- the incoming request- Returns:
- the outgoing response
- Throws:
UserException
- if aUserException
is thrown, Ice will marshal it as the response payload.
-