Provides access to the
QueryPrx and RegistryPrx objects implemented by the IceGrid registry.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::IceGrid::Locator.
-
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 StringGets the type ID of the associated Slice interface.Methods inherited from interface com.zeroc.Ice.Locator
findAdapterById, findObjectById, 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:
dispatchin interfaceLocator- Specified by:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-