Class SecurityRolesMergingProcessor
java.lang.Object
org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor<EJBComponentDescription>
org.jboss.as.ejb3.deployment.processors.merging.SecurityRolesMergingProcessor
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class SecurityRolesMergingProcessor
extends AbstractMergingProcessor<EJBComponentDescription>
A processor which sets the
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.- Author:
- Jaikiran Pai
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleAnnotations(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 voidhandleDeploymentDescriptor(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, EJBComponentDescription ejbComponentDescription) Handle the deployment descriptorMethods inherited from class org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor
deploy, getMethodIntf, getMethodParamsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor
undeploy
-
Constructor Details
-
SecurityRolesMergingProcessor
public SecurityRolesMergingProcessor()
-
-
Method Details
-
handleAnnotations
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 Description copied from class:AbstractMergingProcessorHandle annotations relating to the component that have been found in the deployment. Will not be called if the deployment is metadata complete.- Specified by:
handleAnnotationsin classAbstractMergingProcessor<EJBComponentDescription>- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
handleDeploymentDescriptor
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 Description copied from class:AbstractMergingProcessorHandle the deployment descriptor- Specified by:
handleDeploymentDescriptorin classAbstractMergingProcessor<EJBComponentDescription>- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-