public static interface NameService.LookupCallback
NameService.LookupCallback
can be registered with a NameService
via NameService.addLookupCallback(com.tangosol.net.NameService.LookupCallback)
to perform a lookup on names that were not found in the NameService's directory.Modifier and Type | Method and Description |
---|---|
Object |
lookup(String sName, Cluster cluster, NameService.RequestContext ctx)
Retrieve the named object.
|
Object lookup(String sName, Cluster cluster, NameService.RequestContext ctx) throws NamingException
sName
- the name of the object to look upcluster
- the Cluster
to which this NameService belongsctx
- the lookup request contextNamingException
- if a naming exception is encountered