public class TransactionAwareDirContextInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Constructor and Description |
---|
TransactionAwareDirContextInvocationHandler(javax.naming.directory.DirContext target,
ContextSource contextSource)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
public TransactionAwareDirContextInvocationHandler(javax.naming.directory.DirContext target, ContextSource contextSource)
target
- The target DirContext.contextSource
- The transactional ContextSource, needed to get hold of the
current transaction's DirContextHolder
.