Class ResourceDefinitionAnnotationProcessor

    • Constructor Detail

      • ResourceDefinitionAnnotationProcessor

        public ResourceDefinitionAnnotationProcessor()
    • Method Detail

      • getAnnotationDotName

        protected abstract org.jboss.jandex.DotName getAnnotationDotName()
        Retrieves the annotation's dot name.
        Returns:
      • getAnnotationCollectionDotName

        protected abstract org.jboss.jandex.DotName getAnnotationCollectionDotName()
        Retrieves the annotation collection's dot name.
        Returns:
      • processAnnotation

        protected abstract ResourceDefinitionInjectionSource processAnnotation​(org.jboss.jandex.AnnotationInstance annotationInstance,
                                                                               org.jboss.metadata.property.PropertyReplacer propertyReplacer)
                                                                        throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Processes an annotation instance.
        Parameters:
        annotationInstance - the annotation instance
        propertyReplacer - the property replacer which the processor may use to resolve annotation element values
        Returns:
        a resource definition injection source
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException
      • deploy

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