fr.dyade.aaa.jndi2.haclient
Class HANamingConnection
java.lang.Object
fr.dyade.aaa.jndi2.haclient.HANamingConnection
- All Implemented Interfaces:
- NamingConnection
public class HANamingConnection
- extends java.lang.Object
- implements NamingConnection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IDEMPOTENT
public static final int IDEMPOTENT
- See Also:
- Constant Field Values
NOT_IDEMPOTENT
public static final int NOT_IDEMPOTENT
- See Also:
- Constant Field Values
HANamingConnection
public HANamingConnection()
isIdempotent
public static boolean isIdempotent(JndiRequest request)
addServerAddress
public void addServerAddress(java.lang.String host,
int port)
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
cloneConnection
public NamingConnection cloneConnection()
- Specified by:
cloneConnection
in interface NamingConnection
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getEnvironment
public java.util.Hashtable getEnvironment()
- Specified by:
getEnvironment
in interface NamingConnection
Copyright © 2011 ScalAgent D.T.. All Rights Reserved.