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 -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) Process web annotations.protected org.jboss.annotation.javaee.DescriptionsgetDescription(String description) protected org.jboss.metadata.javaee.spec.DescriptionGroupMetaDatagetDescriptionGroup(String description) protected org.jboss.metadata.javaee.spec.DescriptionGroupMetaDatagetDescriptionGroup(String description, String displayName, String smallIcon, String largeIcon) protected org.jboss.annotation.javaee.DisplayNamesgetDisplayName(String displayName) protected org.jboss.annotation.javaee.Iconsprotected org.jboss.metadata.web.spec.WebMetaDataprocessAnnotations(org.jboss.jandex.Index index) Process a single index.Methods 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
-
WarAnnotationDeploymentProcessor
public WarAnnotationDeploymentProcessor()
-
-
Method Details
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException Process web annotations.- Specified by:
deployin 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
-
getDisplayName
-
getIcons
-
getDescriptionGroup
protected org.jboss.metadata.javaee.spec.DescriptionGroupMetaData getDescriptionGroup(String description) -
getDescriptionGroup
-