org.objectweb.easybeans.deployment.annotations.metadata
Class EjbJarAnnotationMetadata

java.lang.Object
  extended by org.objectweb.easybeans.deployment.annotations.metadata.EjbJarAnnotationMetadata

public class EjbJarAnnotationMetadata
extends java.lang.Object

This class represents the annotation metadata of all classes of an EjbJar file. From this class, we can get metadata of all beans.

Author:
Florent Benoit

Field Summary
private  java.util.Map<java.lang.String,ClassAnnotationMetadata> classesAnnotationMetadata
          List of class annotations metadata.
private static JLog logger
          Logger.
 
Constructor Summary
EjbJarAnnotationMetadata()
          Constructor.
 
Method Summary
 void addClassAnnotationMetadata(ClassAnnotationMetadata classAnnotationMetadata)
          Add annotation metadata for a given class.
 ClassAnnotationMetadata getClassAnnotationMetadata(java.lang.String className)
          Get class annotation metadata.
 java.util.Collection<ClassAnnotationMetadata> getClassAnnotationMetadataCollection()
          Get collections of bean annotation metadata.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static JLog logger
Logger.


classesAnnotationMetadata

private java.util.Map<java.lang.String,ClassAnnotationMetadata> classesAnnotationMetadata
List of class annotations metadata.

Constructor Detail

EjbJarAnnotationMetadata

public EjbJarAnnotationMetadata()
Constructor.

Method Detail

addClassAnnotationMetadata

public void addClassAnnotationMetadata(ClassAnnotationMetadata classAnnotationMetadata)
Add annotation metadata for a given class.

Parameters:
classAnnotationMetadata - annotation metadata of a class.

getClassAnnotationMetadata

public ClassAnnotationMetadata getClassAnnotationMetadata(java.lang.String className)
Get class annotation metadata.

Parameters:
className - key of the map of annotations bean.
Returns:
Bean annotation metadata of a given name.

getClassAnnotationMetadataCollection

public java.util.Collection<ClassAnnotationMetadata> getClassAnnotationMetadataCollection()
Get collections of bean annotation metadata.

Returns:
collections of bean annotation metadata.