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.InvocationHandler
Contains 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 boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.Object
invoke(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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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:
invoke
in interfacejava.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
-
-