public class WarAnnotationDeploymentProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Constructor and Description |
---|
WarAnnotationDeploymentProcessor() |
Modifier and Type | Method and 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.
|
void |
undeploy(org.jboss.as.server.deployment.DeploymentUnit context) |
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
deploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
org.jboss.as.server.deployment.DeploymentUnitProcessingException
public void undeploy(org.jboss.as.server.deployment.DeploymentUnit context)
undeploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
protected org.jboss.metadata.web.spec.WebMetaData processAnnotations(org.jboss.jandex.Index index) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
index
- the annotation indexorg.jboss.as.server.deployment.DeploymentUnitProcessingException
protected org.jboss.annotation.javaee.Descriptions getDescription(String description)
protected org.jboss.annotation.javaee.DisplayNames getDisplayName(String displayName)
protected org.jboss.metadata.javaee.spec.DescriptionGroupMetaData getDescriptionGroup(String description)
Copyright © 2018 JBoss by Red Hat. All rights reserved.