Locator class abstract
The Ice locator interface. This interface is used by clients to lookup adapters and objects. It is also used by servers to get the locator registry proxy.
The {@link Locator} interface is intended to be used by Ice internals and by locator implementations. Regular user code should not attempt to use any functionality of this interface directly.
Constructors
- Locator()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
findAdapterById(
String id) → Object - Find an adapter by id and return a proxy that contains its endpoints. @param id The adapter id. @return The adapter proxy, or null if the adapter is not active. @throws AdapterNotFoundException Raised if the adapter cannot be implements found.
-
findObjectById(
Identity id) → Object - Find an object by identity and return a proxy that contains the adapter ID or endpoints which can be used to access the object. @param id The identity. @return The proxy, or null if the object is not active. @throws ObjectNotFoundException Raised if the object cannot implements be found.
-
getRegistry(
) → LocatorRegistry - Get the locator registry. @return The locator registry.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited