Class MethodPermissionsMergingProcessor
java.lang.Object
org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor<EJBComponentDescription>
org.jboss.as.ejb3.deployment.processors.merging.MethodPermissionsMergingProcessor
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class MethodPermissionsMergingProcessor
extends AbstractMergingProcessor<EJBComponentDescription>
Handles the
RolesAllowed DenyAll PermitAll annotations
Also processes the <method-permission> elements of a Jakarta Enterprise Beans bean and sets up appropriate security permissions on the Jakarta Enterprise Beans bean.
This processor should be run *after* all the views of the Jakarta Enterprise Beans have been identified and set in the EJBComponentDescription- Author:
- Stuart Douglas
-
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 componentDescription) 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
-
MethodPermissionsMergingProcessor
public MethodPermissionsMergingProcessor()
-
-
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 componentDescription) 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
-