Module jakarta.faces
Class DelegatedPersistenceUnitScanner
java.lang.Object
com.sun.faces.application.annotation.DelegatedPersistenceUnitScanner
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass
<? extends Annotation> Delegate to the actual PersistenceUnit scanner.com.sun.faces.application.annotation.RuntimeAnnotationHandler
Delegate to the actual EBJ scanner.
-
Constructor Details
-
DelegatedPersistenceUnitScanner
public DelegatedPersistenceUnitScanner()
-
-
Method Details
-
getAnnotation
Delegate to the actual PersistenceUnit scanner.- Returns:
- the annotation.
-
scan
Delegate to the actual EBJ scanner.- Parameters:
clazz
- the class.- Returns:
- the runtime annotation handler.
-