fr.dyade.aaa.jndi2.client
Class SimpleNamingConnection
java.lang.Object
fr.dyade.aaa.jndi2.client.SimpleNamingConnection
- All Implemented Interfaces:
- NamingConnection
- public class SimpleNamingConnection
- extends java.lang.Object
- implements NamingConnection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleNamingConnection
public SimpleNamingConnection(java.lang.String hostName,
int port,
java.util.Hashtable env)
getHostName
public final java.lang.String getHostName()
getPort
public final int getPort()
invoke
public JndiReply invoke(JndiRequest request)
throws javax.naming.NamingException
- An invoke opens a connection and closes it
when the result has been returned. The overhead
of the connection opening could be avoided
if the server could close connections. Such a
protocol would change the client as well.
- Specified by:
invoke
in interface NamingConnection
- Throws:
javax.naming.NamingException
getEnvironment
public java.util.Hashtable getEnvironment()
- Specified by:
getEnvironment
in interface NamingConnection
cloneConnection
public NamingConnection cloneConnection()
- Specified by:
cloneConnection
in interface NamingConnection
toString
public java.lang.String toString()
Copyright ? 2004 Scalagent - All rights reserved