public class ImportDefinition extends Object implements BeanMetadataElement
ReaderEventListener.importProcessed(ImportDefinition)| Constructor and Description | 
|---|
| ImportDefinition(String importedResource)Create a new ImportDefinition. | 
| ImportDefinition(String importedResource,
                Object source)Create a new ImportDefinition. | 
| ImportDefinition(String importedResource,
                org.springframework.core.io.Resource[] actualResources,
                Object source)Create a new ImportDefinition. | 
| Modifier and Type | Method and Description | 
|---|---|
| org.springframework.core.io.Resource[] | getActualResources() | 
| String | getImportedResource()Return the location of the imported resource. | 
| Object | getSource()Return the configuration source  Objectfor this metadata element
 (may benull). | 
public ImportDefinition(String importedResource)
importedResource - the location of the imported resourcepublic ImportDefinition(String importedResource, @Nullable Object source)
importedResource - the location of the imported resourcesource - the source object (may be null)public final String getImportedResource()
@Nullable public final org.springframework.core.io.Resource[] getActualResources()
@Nullable public final Object getSource()
BeanMetadataElementObject for this metadata element
 (may be null).getSource in interface BeanMetadataElement