spring-framework / org.springframework.beans.factory.parsing / ImportDefinition

ImportDefinition

open class ImportDefinition : BeanMetadataElement

Representation of an import that has been processed during the parsing process.

Author
Juergen Hoeller

Since
2.0

See Also
ReaderEventListener#importProcessed(ImportDefinition)

Constructors

<init>

ImportDefinition(importedResource: String)
ImportDefinition(importedResource: String, source: Any)
ImportDefinition(importedResource: String, actualResources: Array<Resource>, source: Any)

Create a new ImportDefinition.

Functions

getActualResources

fun getActualResources(): Array<Resource>

getImportedResource

fun getImportedResource(): String

Return the location of the imported resource.

getSource

fun getSource(): Any