org.objectweb.easybeans.deployment.annotations.helper.bean.mdb
Class MDBListenerBusinessMethodResolver

java.lang.Object
  extended by org.objectweb.easybeans.deployment.annotations.helper.bean.mdb.MDBListenerBusinessMethodResolver

public final class MDBListenerBusinessMethodResolver
extends java.lang.Object

This class finds the listener method of the MDB and mark it as a business method so that it will be intercepted.

Author:
Florent Benoit

Field Summary
private static JMethod ONMESSAGE_METHOD
          onMessage method.
 
Constructor Summary
private MDBListenerBusinessMethodResolver()
          Helper class, no public constructor.
 
Method Summary
static void resolve(ClassAnnotationMetadata sessionBean)
          Mark listener method of the interface as business method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONMESSAGE_METHOD

private static final JMethod ONMESSAGE_METHOD
onMessage method.

Constructor Detail

MDBListenerBusinessMethodResolver

private MDBListenerBusinessMethodResolver()
Helper class, no public constructor.

Method Detail

resolve

public static void resolve(ClassAnnotationMetadata sessionBean)
Mark listener method of the interface as business method.

Parameters:
sessionBean - Session bean to analyze