Class ManagedBeanAnnotationProcessor
- java.lang.Object
-
- org.jboss.as.ee.managedbean.processors.ManagedBeanAnnotationProcessor
-
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class ManagedBeanAnnotationProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Deployment unit processor responsible for scanning a deployment to find classes withjakarta.annotation.ManagedBean
annotations. Note: This processor only supports JSR-316 compliant managed beans. So it will not handle complimentary spec additions (ex. Jakarta Enterprise Beans).- Author:
- John E. Bailey
-
-
Constructor Summary
Constructors Constructor Description ManagedBeanAnnotationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
Check the deployment annotation index for all classes with the @ManagedBean annotation.
-
-
-
Method Detail
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
Check the deployment annotation index for all classes with the @ManagedBean annotation. For each class with the annotation, collect all the required information to create a managed bean instance, and attach it to the context.- Specified by:
deploy
in interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor
- Parameters:
phaseContext
- the deployment unit context- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
-