Package org.apache.webbeans.config
Class DeploymentValidationService
- java.lang.Object
-
- org.apache.webbeans.config.DeploymentValidationService
-
public class DeploymentValidationService extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeploymentValidationService.BeanInterceptorInfoProvider
-
Constructor Summary
Constructors Constructor Description DeploymentValidationService(WebBeansContext webBeansContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> voidvalidatePassivationCapable(OwbBean<T> bean)If bean is passivation capable, it validate all of its dependencies.javax.enterprise.inject.UnproxyableResolutionExceptionvalidateProxyable(OwbBean<?> bean, boolean ignoreFinalMethods)Checks the unproxyable condition.
-
-
-
Constructor Detail
-
DeploymentValidationService
public DeploymentValidationService(WebBeansContext webBeansContext)
-
-
Method Detail
-
validateProxyable
public javax.enterprise.inject.UnproxyableResolutionException validateProxyable(OwbBean<?> bean, boolean ignoreFinalMethods)
Checks the unproxyable condition.- Returns:
- exception TCKs validate at runtime
- Throws:
WebBeansConfigurationException- if bean is not proxied by the container
-
validatePassivationCapable
public <T> void validatePassivationCapable(OwbBean<T> bean)
If bean is passivation capable, it validate all of its dependencies.- Throws:
WebBeansConfigurationException- if not satisfy passivation dependencies
-
-