public class MethodPermissionsMergingProcessor extends AbstractMergingProcessor<EJBComponentDescription>
RolesAllowed
DenyAll
PermitAll
annotations
Also processes the <method-permission> elements of an EJB and sets up appropriate security permissions on the EJB.
This processor should be run *after* all the views of the EJB have been identified and set in the EJBComponentDescription
Constructor and Description |
---|
MethodPermissionsMergingProcessor() |
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 componentDescription)
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 componentDescription) throws DeploymentUnitProcessingException
AbstractMergingProcessor
handleDeploymentDescriptor
in class AbstractMergingProcessor<EJBComponentDescription>
DeploymentUnitProcessingException
Copyright © 2015 JBoss by Red Hat. All rights reserved.