org.ow2.easybeans.examples.statelessbean
Class StatelessOnlyAddMethodInterceptor
java.lang.Object
org.ow2.easybeans.examples.statelessbean.StatelessOnlyAddMethodInterceptor
public class StatelessOnlyAddMethodInterceptor
- extends Object
Simple interceptor class which should be launched only on add method.
- Author:
- Florent Benoit
Method Summary |
Object |
onlyAdd(javax.interceptor.InvocationContext invocationContext)
Another class interceptor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatelessOnlyAddMethodInterceptor
public StatelessOnlyAddMethodInterceptor()
onlyAdd
public Object onlyAdd(javax.interceptor.InvocationContext invocationContext)
throws Exception
- Another class interceptor.
- Parameters:
invocationContext
- contains attributes of invocation
- Returns:
- method's invocation result
- Throws:
Exception
- if invocation fails
Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.