public class SecurityRolesMergingProcessor extends AbstractMergingProcessor<EJBComponentDescription>
EJBComponentDescription.setSecurityRoles(org.jboss.metadata.javaee.spec.SecurityRolesMetaData)
with the principal to role mapping defined in the assembly descriptor section of the jboss-ejb3.xml via elements from
urn:security-roles namespace.
Additionally, we also merge the security roles metadata from the ear.org.jboss.as.ejb3.security.parser.SecurityRoleMetaDataParser}| Constructor and Description |
|---|
SecurityRolesMergingProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleAnnotations(DeploymentUnit deploymentUnit,
EEApplicationClasses applicationClasses,
DeploymentReflectionIndex deploymentReflectionIndex,
Class<?> componentClass,
EJBComponentDescription description)
Handle annotations relating to the component that have been found in the deployment.
|
protected void |
handleDeploymentDescriptor(DeploymentUnit deploymentUnit,
DeploymentReflectionIndex deploymentReflectionIndex,
Class<?> componentClass,
EJBComponentDescription ejbComponentDescription)
Handle the deployment descriptor
|
deploy, getMethodIntf, getMethodParams, undeployprotected void handleAnnotations(DeploymentUnit deploymentUnit, EEApplicationClasses applicationClasses, DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, EJBComponentDescription description) throws DeploymentUnitProcessingException
AbstractMergingProcessorhandleAnnotations in class AbstractMergingProcessor<EJBComponentDescription>DeploymentUnitProcessingExceptionprotected void handleDeploymentDescriptor(DeploymentUnit deploymentUnit, DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, EJBComponentDescription ejbComponentDescription) throws DeploymentUnitProcessingException
AbstractMergingProcessorhandleDeploymentDescriptor in class AbstractMergingProcessor<EJBComponentDescription>DeploymentUnitProcessingExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.