Class AnnotationManagerImpl

java.lang.Object
org.datanucleus.metadata.annotations.AnnotationManagerImpl
All Implemented Interfaces:
AnnotationManager

public class AnnotationManagerImpl extends Object implements AnnotationManager
Manager for annotations. Acts as a registry of the available annotation readers and allows use of all types of registered annotations.
  • Field Details

    • metadataMgr

      protected final MetaDataManager metadataMgr
      MetaData Manager that we work for.
    • annotationReaderLookup

      Map<String,String> annotationReaderLookup
      Lookup of annotation reader name keyed by the annotation class name.
    • annotationReaders

      Map<String,AnnotationReader> annotationReaders
      Cache of the available annotation readers (keyed by the class name).
    • classAnnotationHandlerAnnotations

      Set<String> classAnnotationHandlerAnnotations
      Set of (class) annotations that have handlers.
    • classAnnotationHandlers

      Map<String,ClassAnnotationHandler> classAnnotationHandlers
      Cache of ClassAnnotationHandler keyed by the annotation name that they handle.
    • memberAnnotationHandlerAnnotations

      Set<String> memberAnnotationHandlerAnnotations
      Set of (member) annotations that have handlers.
    • memberAnnotationHandlers

      Map<String,MemberAnnotationHandler> memberAnnotationHandlers
      Cache of MemberAnnotationHandler keyed by the annotation name that they handle.
  • Constructor Details

    • AnnotationManagerImpl

      public AnnotationManagerImpl(MetaDataManager metadataMgr)
      Constructor.
      Parameters:
      metadataMgr - Manager for MetaData
  • Method Details