Class DelegatedPersistenceUnitScanner


  • public class DelegatedPersistenceUnitScanner
    extends Object
    Scanner implementation responsible for PersistenceUnit annotations.

    Note this will delegate down to the PersistenceUnitScanner so we can fail gracefully when JavaEE is not available.

    • Constructor Detail

      • DelegatedPersistenceUnitScanner

        public DelegatedPersistenceUnitScanner()
    • Method Detail

      • getAnnotation

        public Class<? extends Annotation> getAnnotation()
        Delegate to the actual PersistenceUnit scanner.
        Returns:
        the annotation.
      • scan

        public com.sun.faces.application.annotation.RuntimeAnnotationHandler scan​(Class<?> clazz)
        Delegate to the actual EBJ scanner.
        Parameters:
        clazz - the class.
        Returns:
        the runtime annotation handler.