Class DelegatedPersistenceContextScanner
java.lang.Object
com.sun.faces.application.annotation.DelegatedPersistenceContextScanner
public class DelegatedPersistenceContextScanner extends Object
Scanner implementation responsible for PersistenceContext annotations.
Note this will delegate down to the PersistenceContextScanner so we can fail gracefully when JavaEE is not available.
-
Constructor Summary
Constructors Constructor Description DelegatedPersistenceContextScanner() -
Method Summary
Modifier and Type Method Description Class<? extends Annotation>getAnnotation()Delegate to the actual PersistenceContext scanner.com.sun.faces.application.annotation.RuntimeAnnotationHandlerscan(Class<?> clazz)Delegate to the actual EBJ scanner.
-
Constructor Details
-
DelegatedPersistenceContextScanner
public DelegatedPersistenceContextScanner()
-
-
Method Details
-
getAnnotation
Delegate to the actual PersistenceContext scanner.- Returns:
- the annotation.
-
scan
Delegate to the actual EBJ scanner.- Parameters:
clazz- the class.- Returns:
- the runtime annotation handler.
-