public abstract class ResourceDefinitionAnnotationProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceDefinitionAnnotationProcessor.AnnotationElement
Utility class to help handle resource definition annotation elements
|
| Constructor and Description |
|---|
ResourceDefinitionAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) |
protected abstract org.jboss.jandex.DotName |
getAnnotationCollectionDotName()
Retrieves the annotation collection's dot name.
|
protected abstract org.jboss.jandex.DotName |
getAnnotationDotName()
Retrieves the annotation's dot name.
|
protected abstract ResourceDefinitionInjectionSource |
processAnnotation(org.jboss.jandex.AnnotationInstance annotationInstance,
org.jboss.metadata.property.PropertyReplacer propertyReplacer)
Processes an annotation instance.
|
public ResourceDefinitionAnnotationProcessor()
protected abstract org.jboss.jandex.DotName getAnnotationDotName()
protected abstract org.jboss.jandex.DotName getAnnotationCollectionDotName()
protected abstract ResourceDefinitionInjectionSource processAnnotation(org.jboss.jandex.AnnotationInstance annotationInstance, org.jboss.metadata.property.PropertyReplacer propertyReplacer) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
annotationInstance - the annotation instancepropertyReplacer - the property replacer which the processor may use to resolve annotation element valuesorg.jboss.as.server.deployment.DeploymentUnitProcessingExceptionpublic void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessororg.jboss.as.server.deployment.DeploymentUnitProcessingExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.