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, undeploy
protected void handleAnnotations(DeploymentUnit deploymentUnit, EEApplicationClasses applicationClasses, DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, EJBComponentDescription description) throws DeploymentUnitProcessingException
AbstractMergingProcessor
handleAnnotations
in class AbstractMergingProcessor<EJBComponentDescription>
DeploymentUnitProcessingException
protected void handleDeploymentDescriptor(DeploymentUnit deploymentUnit, DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, EJBComponentDescription ejbComponentDescription) throws DeploymentUnitProcessingException
AbstractMergingProcessor
handleDeploymentDescriptor
in class AbstractMergingProcessor<EJBComponentDescription>
DeploymentUnitProcessingException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.