org.apache.myfaces.extensions.cdi.core.api.security
Interface BeanCreationDecisionVoter

All Known Implementing Classes:
AbstractBeanCreationDecisionVoter

public interface BeanCreationDecisionVoter

This feature is optional and has to be activated via CodiCoreConfig.isInvalidBeanCreationEventEnabled()

Author:
Gerhard Petracek

Method Summary
<T> Set<SecurityViolation>
checkPermission(javax.enterprise.inject.spi.Bean<T> beanToCheck)
          Checks the permission to the given bean
 

Method Detail

checkPermission

<T> Set<SecurityViolation> checkPermission(javax.enterprise.inject.spi.Bean<T> beanToCheck)
Checks the permission to the given bean

Type Parameters:
T - current type
Parameters:
beanToCheck - bean which should be checked
Returns:
found violations, an empty set otherwise


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.