|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.naming.remote.proxy.JNDIHandler
public class JNDIHandler
| Constructor Summary | |
|---|---|
JNDIHandler()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
handleLookup(java.lang.String host,
int port,
java.lang.String path,
java.util.Map attributes)
Handles the lookup for the given path, given the host and port. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JNDIHandler()
| Method Detail |
|---|
public java.lang.Object handleLookup(java.lang.String host,
int port,
java.lang.String path,
java.util.Map attributes)
throws javax.naming.NameNotFoundException,
javax.naming.NamingException
ServiceHandler
handleLookup in interface ServiceHandlerhost - the host to look up.port - the port on which to connect. If the port corresponds to
the UNDEFINED_PORT constant, it means that the caller has
not specified any port (a necessary feature in order to support well-known
ports).path - the path of the object to look up.attributes - a Map of attributes - the latter correspond to the
query string parameters that is parsed out of the URL that is specified to the
ServiceLocator.
Object
javax.naming.NameNotFoundException - if no object could be found for the
given path.
javax.naming.NamingException - if an error occurs while performing the lookup.ServiceHandler.handleLookup(String, int, String, Map)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||