public class FastProcessAnnotatedTypeResolver extends AbstractBootstrapService
ClassFileServices for resolution and thus entirely avoids loading the classes which speeds up
especially large deployments.
Although this resolver covers most of the possible PAT observer method types, there are several cases when ClassFileInfo used by this resolver is not
sufficient to perform observer method resolution correctly. If such observer method is present in the deployment, the constructor of this class throws
UnsupportedObserverMethodException. This exception is expected to be caught by the deployer and observer method resolution using the default
TypeSafeObserverResolver is performed instead.| Constructor and Description |
|---|
FastProcessAnnotatedTypeResolver(java.lang.Iterable<ObserverMethod<?>> observers) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupAfterBoot()
Called by Weld once it finishes initialization and before it starts serving requests.
|
java.util.Set<ExtensionObserverMethodImpl<?,?>> |
resolveProcessAnnotatedTypeObservers(ClassFileServices classFileServices,
java.lang.String className)
Resolves a set of
ProcessAnnotatedType observer methods for the specified class. |
cleanuppublic FastProcessAnnotatedTypeResolver(java.lang.Iterable<ObserverMethod<?>> observers) throws org.jboss.weld.bootstrap.UnsupportedObserverMethodException
public java.util.Set<ExtensionObserverMethodImpl<?,?>> resolveProcessAnnotatedTypeObservers(ClassFileServices classFileServices, java.lang.String className)
ProcessAnnotatedType observer methods for the specified class. If no observer methods are resolved, an
empty set is returned.className - the specified class namepublic void cleanupAfterBoot()
BootstrapServiceCopyright © 2015. All Rights Reserved.