public class DelegatedPersistenceContextScanner extends java.lang.Object implements Scanner
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 and Description |
---|
DelegatedPersistenceContextScanner() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotation()
Delegate to the actual PersistenceContext scanner.
|
RuntimeAnnotationHandler |
scan(java.lang.Class<?> clazz)
Delegate to the actual EBJ scanner.
|
private Scanner delegate
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotation()
getAnnotation
in interface Scanner
public RuntimeAnnotationHandler scan(java.lang.Class<?> clazz)
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.