org.ow2.easybeans.examples.statelessbean
Class StatelessOnlyAddMethodInterceptor

java.lang.Object
  extended by org.ow2.easybeans.examples.statelessbean.StatelessOnlyAddMethodInterceptor

public class StatelessOnlyAddMethodInterceptor
extends java.lang.Object

Simple interceptor class which should be launched only on add method.

Author:
Florent Benoit

Constructor Summary
StatelessOnlyAddMethodInterceptor()
           
 
Method Summary
 java.lang.Object onlyAdd(InvocationContext invocationContext)
          Another class interceptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatelessOnlyAddMethodInterceptor

public StatelessOnlyAddMethodInterceptor()
Method Detail

onlyAdd

public java.lang.Object onlyAdd(InvocationContext invocationContext)
                         throws java.lang.Exception
Another class interceptor.

Parameters:
invocationContext - contains attributes of invocation
Returns:
method's invocation result
Throws:
java.lang.Exception - if invocation fails


Copyright © 2006-2007 OW2 Consortium. All Rights Reserved.