public class Observers extends Object
Modifier and Type | Field and Description |
---|---|
static Set<Class<?>> |
CONTAINER_LIFECYCLE_EVENT_CANONICAL_SUPERTYPES |
static Set<Class<?>> |
CONTAINER_LIFECYCLE_EVENT_TYPES |
Modifier and Type | Method and Description |
---|---|
static boolean |
isContainerLifecycleObserverMethod(ObserverMethod<?> method) |
static boolean |
isEventMetadataRequired(ObserverMethod<?> observer)
Determines whether the given observer method is either extension-provided or contains an injection point with
EventMetadata type. |
static boolean |
isObserverMethodEnabled(ObserverMethod<?> method,
BeanManagerImpl manager) |
static void |
validateObserverMethod(ObserverMethod<?> observerMethod,
BeanManager beanManager) |
public static boolean isContainerLifecycleObserverMethod(ObserverMethod<?> method)
public static boolean isObserverMethodEnabled(ObserverMethod<?> method, BeanManagerImpl manager)
public static void validateObserverMethod(ObserverMethod<?> observerMethod, BeanManager beanManager)
public static boolean isEventMetadataRequired(ObserverMethod<?> observer)
EventMetadata
type.Copyright © 2015. All Rights Reserved.