Package com.tangosol.net
Interface NameService.LookupCallback
-
- Enclosing interface:
- NameService
public static interface NameService.LookupCallback
An object which implementsNameService.LookupCallback
can be registered with aNameService
viaNameService.addLookupCallback(com.tangosol.net.NameService.LookupCallback)
to perform a lookup on names that were not found in the NameService's directory.- Since:
- 12.2.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
lookup(String sName, Cluster cluster, NameService.RequestContext ctx)
Retrieve the named object.
-
-
-
Method Detail
-
lookup
Object lookup(String sName, Cluster cluster, NameService.RequestContext ctx) throws NamingException
Retrieve the named object.- Parameters:
sName
- the name of the object to look upcluster
- theCluster
to which this NameService belongsctx
- the lookup request context- Returns:
- the object bound to sName, or null if not found
- Throws:
NamingException
- if a naming exception is encountered
-
-