title: How can I inject a service into a Thymeleaf tag processor
body: <p>I am implementing a custom tag by extending AbstractElementTagProcessor. I'm using latest spring-boot and thymeleaf.</p>
  
  <p><strong>Is there a way I can access ApplicationContext or to inject a service?</strong></p>
  
  <pre><code>public class ATagProcessor extends AbstractElementTagProcessor {
      ....
      @Override
      protected void doProcess(
          final ITemplateContext context, final IProcessableElementTag tag,
          final IElementTagStructureHandler structureHandler) {
              [Here I need to use a service]
          }
  
      }
  }
  </code></pre>