org.springframework.ldap.transaction.compensating
Class LdapCompensatingTransactionOperationFactory.NonClosingDirContextInvocationHandler

java.lang.Object
  extended by org.springframework.ldap.transaction.compensating.LdapCompensatingTransactionOperationFactory.NonClosingDirContextInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler
Enclosing class:
LdapCompensatingTransactionOperationFactory

public static class LdapCompensatingTransactionOperationFactory.NonClosingDirContextInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

A proxy for DirContext forwarding all operation to the target DirContext, but making sure that no close operations will be performed.

Author:
Mattias Arthursson

Constructor Summary
LdapCompensatingTransactionOperationFactory.NonClosingDirContextInvocationHandler(javax.naming.directory.DirContext target)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapCompensatingTransactionOperationFactory.NonClosingDirContextInvocationHandler

public LdapCompensatingTransactionOperationFactory.NonClosingDirContextInvocationHandler(javax.naming.directory.DirContext target)
Method Detail

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 interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable


Copyright � 2002-2006. All Rights Reserved.