org.ow2.jonas.jndi.interceptors.impl.easybeans
Class ResourceCheckerInterceptor
java.lang.Object
org.ow2.jonas.jndi.interceptors.impl.easybeans.ResourceCheckerInterceptor
- All Implemented Interfaces:
- org.ow2.easybeans.api.EasyBeansInterceptor
public class ResourceCheckerInterceptor
- extends Object
- implements org.ow2.easybeans.api.EasyBeansInterceptor
Interceptors that will check if all resources have been closed.
- Author:
- Florent Benoit
Method Summary |
Object |
intercept(org.ow2.easybeans.api.EasyBeansInvocationContext invocationContext)
Defines the interceptor schema of EasyBeans interceptors. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceCheckerInterceptor
public ResourceCheckerInterceptor()
- Default constructor.
intercept
public Object intercept(org.ow2.easybeans.api.EasyBeansInvocationContext invocationContext)
throws Exception
- Defines the interceptor schema of EasyBeans interceptors.
- Specified by:
intercept
in interface org.ow2.easybeans.api.EasyBeansInterceptor
- Parameters:
invocationContext
- context with useful attributes on the current
invocation
- Returns:
- result of the next invocation (to chain interceptors)
- Throws:
Exception
- if interceptor fails
Copyright © 2010 OW2 Consortium. All Rights Reserved.