Class ConditionalResource

All Implemented Interfaces:
Component, DestructableComponent, IdentifiedComponent, InitializableComponent, Resource, Aware, BeanNameAware, InputStreamSource, Resource

public class ConditionalResource extends AbstractIdentifiedInitializableComponent implements Resource, BeanNameAware, Resource
A wrapper that guards a Resource that may be absent by returning an empty bean file instead.
Since:
5.4.0