public final class EjbValidator extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
validateDecoratorOrInterceptor(Class<?> ejbClass)
Validates session bean decorator/interceptor conditions.
|
static void |
validateEjbScopeType(BaseEjbBean<?> ejbBean)
Validates session bean's scope.
|
static void |
validateGenericBeanType(Class<?> ejbClass,
Class<? extends Annotation> scopeType)
Check generic type conditions.
|
static <T> void |
validateObserverMethods(BaseEjbBean<?> bean,
Set<javax.enterprise.inject.spi.ObserverMethod<T>> observers) |
public static void validateEjbScopeType(BaseEjbBean<?> ejbBean)
ejbBean - ejb beanpublic static void validateDecoratorOrInterceptor(Class<?> ejbClass)
ejbClass - ejb bean classpublic static void validateGenericBeanType(Class<?> ejbClass, Class<? extends Annotation> scopeType)
ejbClass - ebj classscopeType - scope typepublic static <T> void validateObserverMethods(BaseEjbBean<?> bean, Set<javax.enterprise.inject.spi.ObserverMethod<T>> observers)
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.