org.objectweb.easybeans.deployment.annotations.helper.bean.checks
Class TimerBeanValidator

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

public final class TimerBeanValidator
extends java.lang.Object

This class ensures that the bean has no more than one timer method and that the signature of this method is valid.

Author:
Florent Benoit

Constructor Summary
private TimerBeanValidator()
          Helper class, no public constructor.
 
Method Summary
static void validate(ClassAnnotationMetadata bean)
          Validate a bean (check timer objects).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerBeanValidator

private TimerBeanValidator()
Helper class, no public constructor.

Method Detail

validate

public static void validate(ClassAnnotationMetadata bean)
Validate a bean (check timer objects).

Parameters:
bean - bean to validate.