Package org.flowable.spring.boot.aot
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 Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Collection<String>protected final org.slf4j.Loggerprotected final org.springframework.core.io.support.ResourcePatternResolver -
Constructor Summary
ConstructorsConstructorDescriptionBaseAutoDeployResourceContribution(String locationPrefix, Collection<String> locationSuffixes) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(org.springframework.aot.generate.GenerationContext generationContext, org.springframework.beans.factory.aot.BeanFactoryInitializationCode beanFactoryInitializationCode) protected voidapplyToResource(org.springframework.core.io.ClassPathResource resource, org.springframework.aot.hint.RuntimeHints hints) protected org.springframework.core.io.ClassPathResourceasClasspathResource(org.springframework.core.io.Resource resource)
-
Field Details
-
resolver
protected final org.springframework.core.io.support.ResourcePatternResolver resolver -
logger
protected final org.slf4j.Logger logger -
locationPrefix
-
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:
applyToin interfaceorg.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)
-