org.springframework.jndi
Class JndiObjectFactoryBean.JndiContextExposingInterceptor
java.lang.Object
org.springframework.jndi.JndiObjectFactoryBean.JndiContextExposingInterceptor
- All Implemented Interfaces:
- Advice, Interceptor, MethodInterceptor
- Enclosing class:
- JndiObjectFactoryBean
private static class JndiObjectFactoryBean.JndiContextExposingInterceptor
- extends java.lang.Object
- implements MethodInterceptor
Interceptor that exposes the JNDI context for all method invocations,
according to JndiObjectFactoryBean's "exposeAccessContext" flag.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jndiTemplate
private final JndiTemplate jndiTemplate
JndiObjectFactoryBean.JndiContextExposingInterceptor
public JndiObjectFactoryBean.JndiContextExposingInterceptor(JndiTemplate jndiTemplate)
invoke
public java.lang.Object invoke(MethodInvocation invocation)
throws java.lang.Throwable
- Specified by:
invoke
in interface MethodInterceptor
- Throws:
java.lang.Throwable
isEligible
protected boolean isEligible(java.lang.reflect.Method method)