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(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
EEApplicationClasses applicationClasses,
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex,
Class<?> componentClass,
EJBComponentDescription description)
Handle annotations relating to the component that have been found in the deployment.
|
protected void |
handleDeploymentDescriptor(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex,
Class<?> componentClass,
EJBComponentDescription ejbComponentDescription)
Handle the deployment descriptor
|
deploy, getMethodIntf, getMethodParams, undeploy
protected void handleAnnotations(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, EEApplicationClasses applicationClasses, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, EJBComponentDescription description) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
AbstractMergingProcessor
handleAnnotations
in class AbstractMergingProcessor<EJBComponentDescription>
org.jboss.as.server.deployment.DeploymentUnitProcessingException
protected void handleDeploymentDescriptor(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, EJBComponentDescription ejbComponentDescription) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
AbstractMergingProcessor
handleDeploymentDescriptor
in class AbstractMergingProcessor<EJBComponentDescription>
org.jboss.as.server.deployment.DeploymentUnitProcessingException
Copyright © 2017 JBoss by Red Hat. All rights reserved.