org.jboss.metadata.annotation.creator
Class PersistenceUnitsClassProcessor

java.lang.Object
  extended by org.jboss.metadata.annotation.creator.AbstractFinderUser
      extended by org.jboss.metadata.annotation.creator.AbstractInjectionTargetProcessor<E>
          extended by org.jboss.metadata.annotation.creator.AbstractPersistenceUnitProcessor<Class<?>>
              extended by org.jboss.metadata.annotation.creator.PersistenceUnitClassProcessor
                  extended by org.jboss.metadata.annotation.creator.PersistenceUnitsClassProcessor
All Implemented Interfaces:
Processor<PersistenceUnitReferencesMetaData,Class<?>>

public class PersistenceUnitsClassProcessor
extends PersistenceUnitClassProcessor
implements Processor<PersistenceUnitReferencesMetaData,Class<?>>

Version:
$Revision$
Author:
Emanuel Muckenhuber

Field Summary
 
Fields inherited from class org.jboss.metadata.annotation.creator.AbstractFinderUser
finder
 
Constructor Summary
PersistenceUnitsClassProcessor(AnnotationFinder<AnnotatedElement> finder)
           
 
Method Summary
 Collection<Class<? extends Annotation>> getAnnotationTypes()
          Get the annotations handled by this processor.
 void process(PersistenceUnitReferencesMetaData refs, Class<?> element)
          Process a piece of meta data.
 
Methods inherited from class org.jboss.metadata.annotation.creator.PersistenceUnitClassProcessor
getInjectionName, getName
 
Methods inherited from class org.jboss.metadata.annotation.creator.AbstractPersistenceUnitProcessor
createPU, process
 
Methods inherited from class org.jboss.metadata.annotation.creator.AbstractInjectionTargetProcessor
addReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceUnitsClassProcessor

public PersistenceUnitsClassProcessor(AnnotationFinder<AnnotatedElement> finder)
Method Detail

process

public void process(PersistenceUnitReferencesMetaData refs,
                    Class<?> element)
Description copied from interface: Processor
Process a piece of meta data.

Specified by:
process in interface Processor<PersistenceUnitReferencesMetaData,Class<?>>
Overrides:
process in class AbstractPersistenceUnitProcessor<Class<?>>
Parameters:
refs - the meta data
element - the annotated element

getAnnotationTypes

public Collection<Class<? extends Annotation>> getAnnotationTypes()
Description copied from interface: Processor
Get the annotations handled by this processor.

Specified by:
getAnnotationTypes in interface Processor<PersistenceUnitReferencesMetaData,Class<?>>
Overrides:
getAnnotationTypes in class AbstractPersistenceUnitProcessor<Class<?>>
Returns:
the processed annotation types


Copyright © 2009 JBoss Inc.. All Rights Reserved.