public class DelegatedPersistenceUnitScanner extends java.lang.Object implements Scanner
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 and Description |
---|
DelegatedPersistenceUnitScanner() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotation()
Delegate to the actual PersistenceUnit 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.