Class ImportDefinition
java.lang.Object
org.springframework.beans.factory.parsing.ImportDefinition
- All Implemented Interfaces:
- BeanMetadataElement
Representation of an import that has been processed during the parsing process.
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionImportDefinition(String importedResource) Create a new ImportDefinition.ImportDefinition(String importedResource, Object source) Create a new ImportDefinition.ImportDefinition(String importedResource, Resource[] actualResources, Object source) Create a new ImportDefinition.
- 
Method Summary
- 
Constructor Details- 
ImportDefinitionCreate a new ImportDefinition.- Parameters:
- importedResource- the location of the imported resource
 
- 
ImportDefinitionCreate a new ImportDefinition.- Parameters:
- importedResource- the location of the imported resource
- source- the source object (may be- null)
 
- 
ImportDefinitionpublic ImportDefinition(String importedResource, @Nullable Resource[] actualResources, @Nullable Object source) Create a new ImportDefinition.- Parameters:
- importedResource- the location of the imported resource
- source- the source object (may be- null)
 
 
- 
- 
Method Details- 
getImportedResourceReturn the location of the imported resource.
- 
getActualResources
- 
getSourceDescription copied from interface:BeanMetadataElementReturn the configuration sourceObjectfor this metadata element (may benull).- Specified by:
- getSourcein interface- BeanMetadataElement
 
 
-