Top Description Fields Constructors Methods
com.sun.faces.application.annotation

public Class DelegatedPersistenceUnitScanner

extends Object
implements Scanner
Class Inheritance
All Implemented Interfaces
com.sun.faces.application.annotation.Scanner
Imports
java.lang.annotation.Annotation

Scanner implementation responsible for PersistenceUnit annotations.

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

Field Summary

Modifier and TypeField and Description
private Scanner

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Class<? extends Annotation>

Returns:

the annotation.
getAnnotation
()

Implements com.sun.faces.application.annotation.Scanner.getAnnotation.

Delegate to the actual PersistenceUnit scanner.
public RuntimeAnnotationHandler

Returns:

the runtime annotation handler.
scan
(Class<?>
the class.
clazz
)

Implements com.sun.faces.application.annotation.Scanner.scan.

Delegate to the actual EBJ scanner.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

delegateback to summary
private Scanner delegate

Constructor Detail

DelegatedPersistenceUnitScannerback to summary
public DelegatedPersistenceUnitScanner()

Method Detail

getAnnotationback to summary
public Class<? extends Annotation> getAnnotation()

Implements com.sun.faces.application.annotation.Scanner.getAnnotation.

Delegate to the actual PersistenceUnit scanner.

Returns:Class<? extends Annotation>

the annotation.

Annotations
@Override
scanback to summary
public RuntimeAnnotationHandler scan(Class<?> clazz)

Implements com.sun.faces.application.annotation.Scanner.scan.

Delegate to the actual EBJ scanner.

Parameters
clazz:Class<?>

the class.

Returns:RuntimeAnnotationHandler

the runtime annotation handler.

Annotations
@Override