Package org.ldaptive
Class SingleConnectionFactory.ConnectionProxy
- java.lang.Object
-
- org.ldaptive.SingleConnectionFactory.ConnectionProxy
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
- Enclosing class:
- SingleConnectionFactory
protected static class SingleConnectionFactory.ConnectionProxy extends java.lang.Object implements java.lang.reflect.InvocationHandlerContains the connection used by this factory.
-
-
Constructor Summary
Constructors Constructor Description ConnectionProxy(Connection c)Creates a new connection proxy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()java.lang.Objectinvoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
-
-
-
Constructor Detail
-
ConnectionProxy
public ConnectionProxy(Connection c)
Creates a new connection proxy.- Parameters:
c- connection to proxy
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
invoke
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable- Specified by:
invokein interfacejava.lang.reflect.InvocationHandler- Throws:
java.lang.Throwable
-
-