Class WarAnnotationDeploymentProcessor
- java.lang.Object
-
- org.wildfly.extension.undertow.deployment.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 Summary
Constructors Constructor Description WarAnnotationDeploymentProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
Process web annotations.protected org.jboss.annotation.javaee.Descriptions
getDescription(String description)
protected org.jboss.metadata.javaee.spec.DescriptionGroupMetaData
getDescriptionGroup(String description)
protected org.jboss.metadata.javaee.spec.DescriptionGroupMetaData
getDescriptionGroup(String description, String displayName, String smallIcon, String largeIcon)
protected org.jboss.annotation.javaee.DisplayNames
getDisplayName(String displayName)
protected org.jboss.annotation.javaee.Icons
getIcons(String smallIcon, String largeIcon)
protected org.jboss.metadata.web.spec.WebMetaData
processAnnotations(org.jboss.jandex.Index index)
Process a single index.
-
-
-
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 interfaceorg.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)
-
getDescriptionGroup
protected org.jboss.metadata.javaee.spec.DescriptionGroupMetaData getDescriptionGroup(String description)
-
-