Class BaseAutoDeployResourceContribution

java.lang.Object
org.flowable.spring.boot.aot.BaseAutoDeployResourceContribution
All Implemented Interfaces:
org.springframework.beans.factory.aot.BeanFactoryInitializationAotContribution

public class BaseAutoDeployResourceContribution extends Object implements org.springframework.beans.factory.aot.BeanFactoryInitializationAotContribution
Author:
Josh Long, Joram Barrez, Filip Hrisafov
  • Field Details

    • resolver

      protected final org.springframework.core.io.support.ResourcePatternResolver resolver
    • logger

      protected final org.slf4j.Logger logger
    • locationPrefix

      protected final String locationPrefix
    • locationSuffixes

      protected final Collection<String> locationSuffixes
  • Constructor Details

    • BaseAutoDeployResourceContribution

      public BaseAutoDeployResourceContribution(String locationPrefix, Collection<String> locationSuffixes)
  • Method Details

    • applyTo

      public void applyTo(org.springframework.aot.generate.GenerationContext generationContext, org.springframework.beans.factory.aot.BeanFactoryInitializationCode beanFactoryInitializationCode)
      Specified by:
      applyTo in interface org.springframework.beans.factory.aot.BeanFactoryInitializationAotContribution
    • applyToResource

      protected void applyToResource(org.springframework.core.io.ClassPathResource resource, org.springframework.aot.hint.RuntimeHints hints)
    • asClasspathResource

      protected org.springframework.core.io.ClassPathResource asClasspathResource(org.springframework.core.io.Resource resource)