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

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

public class SLSBFinalInternalInterceptor
extends java.lang.Object
implements ItfOneMethodBeanRemote

This bean has an internal interceptor with static method modifier. It isn't in agreement with the JSR220 - EJB 3.0 Spec.

Author:
Eduardo Studzinski Estima de Castro, Gisele Pinheiro Souza

Constructor Summary
SLSBFinalInternalInterceptor()
           
 
Method Summary
 java.lang.Object doNothing(javax.ejb.InvocationContext invocationContext)
          Intercepts the method and do nothing.
 java.lang.Object doOne()
          This method has an inteceptor with void return type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLSBFinalInternalInterceptor

public SLSBFinalInternalInterceptor()
Method Detail

doOne

public java.lang.Object doOne()
This method has an inteceptor with void return type.

Specified by:
doOne in interface ItfOneMethodBeanRemote
Returns:
null

doNothing

public final java.lang.Object doNothing(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