com.bm.ejb3metadata.annotations.helper.bean
Class InheritanceMethodResolver

java.lang.Object
  extended by com.bm.ejb3metadata.annotations.helper.bean.InheritanceMethodResolver

public final class InheritanceMethodResolver
extends java.lang.Object

This class adds method meta data to bean class from the super class.
TODO: Try to analyze super class from a super classloader if not found in the current ejb-jar

Author:
Florent Benoit
See Also:
EJB 3.0 Spec ?4.6.2

A super class can't be a bean class (stateless, stateful, etc) so the method metadata don't need to be cloned


Method Summary
static void resolve(ClassAnnotationMetadata classAnnotationMetadata)
          Found all method meta data of the super class and adds them to the class being analyzed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resolve

public static void resolve(ClassAnnotationMetadata classAnnotationMetadata)
                    throws ResolverException
Found all method meta data of the super class and adds them to the class being analyzed.

Parameters:
classAnnotationMetadata - class to analyze
Throws:
ResolverException - if the super class in not in the given ejb-jar


Copyright © 2008. All Rights Reserved.