org.objectweb.easybeans.tests.common.ejbs.stateless.wrongspecification
Class SLSBTwoAroundInvokeError

java.lang.Object
  extended by org.objectweb.easybeans.tests.common.ejbs.stateless.wrongspecification.SLSBTwoAroundInvokeError
All Implemented Interfaces:
ItfOneMethodBeanRemote

public class SLSBTwoAroundInvokeError
extends java.lang.Object
implements ItfOneMethodBeanRemote

This bean has two annotations(AroundInvoke). It isn't in agreement with the JSR220 - EJB 3.0 Spec.

Author:
Eduardo Studzinski Estima de Castro, Gisele Pinheiro Souza

Constructor Summary
SLSBTwoAroundInvokeError()
           
 
Method Summary
 java.lang.Object doNothing1(javax.ejb.InvocationContext invocationContext)
          Intercepts the method and do nothing.
 java.lang.Object doNothing2(javax.ejb.InvocationContext invocationContext)
          Intercepts the method and do nothing.
 java.lang.Object doOne()
          Does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLSBTwoAroundInvokeError

public SLSBTwoAroundInvokeError()
Method Detail

doNothing1

public java.lang.Object doNothing1(javax.ejb.InvocationContext invocationContext)
                            throws java.lang.Exception
Intercepts the method and do nothing.

Parameters:
invocationContext - contains attributes of invocation, the first parameter of the intercepted method must be a list.
Returns:
method's invocation result
Throws:
java.lang.Exception - if invocation fails

doNothing2

public java.lang.Object doNothing2(javax.ejb.InvocationContext invocationContext)
                            throws java.lang.Exception
Intercepts the method and do nothing.

Parameters:
invocationContext - contains attributes of invocation, the first parameter of the intercepted method must be a list.
Returns:
method's invocation result
Throws:
java.lang.Exception - if invocation fails

doOne

public java.lang.Object doOne()
Does nothing.

Specified by:
doOne in interface ItfOneMethodBeanRemote
Returns:
null