Class WarAnnotationDeploymentProcessor

  • All Implemented Interfaces:
    org.jboss.as.server.deployment.DeploymentUnitProcessor

    public class WarAnnotationDeploymentProcessor
    extends Object
    implements org.jboss.as.server.deployment.DeploymentUnitProcessor
    Web annotation deployment processor.
    Author:
    Emanuel Muckenhuber, Remy Maucherat
    • Constructor Detail

      • WarAnnotationDeploymentProcessor

        public WarAnnotationDeploymentProcessor()
    • Method Detail

      • deploy

        public void deploy​(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
                    throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Process web annotations.
        Specified by:
        deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException
      • processAnnotations

        protected org.jboss.metadata.web.spec.WebMetaData processAnnotations​(org.jboss.jandex.Index index)
                                                                      throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Process a single index.
        Parameters:
        index - the annotation index
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException
      • getDescription

        protected org.jboss.annotation.javaee.Descriptions getDescription​(String description)
      • getDisplayName

        protected org.jboss.annotation.javaee.DisplayNames getDisplayName​(String displayName)
      • getIcons

        protected org.jboss.annotation.javaee.Icons getIcons​(String smallIcon,
                                                             String largeIcon)
      • getDescriptionGroup

        protected org.jboss.metadata.javaee.spec.DescriptionGroupMetaData getDescriptionGroup​(String description)
      • getDescriptionGroup

        protected org.jboss.metadata.javaee.spec.DescriptionGroupMetaData getDescriptionGroup​(String description,
                                                                                              String displayName,
                                                                                              String smallIcon,
                                                                                              String largeIcon)