org.objectweb.easybeans.deployment.annotations.helper.bean
Class TimedObjectInterface

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

public final class TimedObjectInterface
extends java.lang.Object

This class analyze interfaces of the given bean. If the session bean implements javax.ejb.TimedObject interface, the ejbTimeout method is added as Timer method.

Author:
Florent Benoit

Field Summary
private static JMethod EJBTIMEOUT_METHOD
          ejbTimeout() method.
private static java.lang.String TIMEDOBJECT_INTERFACE
          TimedObject interface.
 
Constructor Summary
private TimedObjectInterface()
          Helper class, no public constructor.
 
Method Summary
static void resolve(ClassAnnotationMetadata bean)
          Try to see if the bean is implementing javax.ejb.TimedObject interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEDOBJECT_INTERFACE

private static final java.lang.String TIMEDOBJECT_INTERFACE
TimedObject interface.

See Also:
Constant Field Values

EJBTIMEOUT_METHOD

private static final JMethod EJBTIMEOUT_METHOD
ejbTimeout() method.

Constructor Detail

TimedObjectInterface

private TimedObjectInterface()
Helper class, no public constructor.

Method Detail

resolve

public static void resolve(ClassAnnotationMetadata bean)
Try to see if the bean is implementing javax.ejb.TimedObject interface.

Parameters:
bean - the given bean to analyze