public class AssetProcessorResolverImpl extends Object implements AssetProcessorResolver, org.springframework.context.ApplicationContextAware
AssetProcessorResolver
.Constructor and Description |
---|
AssetProcessorResolverImpl() |
Modifier and Type | Method and Description |
---|---|
AssetProcessor |
getProcessor(ProcessorConfiguration config)
Returns an
AssetProcessor that's compatible with the specified configuration |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBeanNameFormat(String beanNameFormat) |
public void setBeanNameFormat(String beanNameFormat)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public AssetProcessor getProcessor(ProcessorConfiguration config) throws AssetProcessingException
AssetProcessorResolver
AssetProcessor
that's compatible with the specified configurationgetProcessor
in interface AssetProcessorResolver
config
- the configurationAssetProcessingException
- if there's an error while retrieving the processor or if the configuration is invalidCopyright © 2023 CrafterCMS. All rights reserved.