public class

ImportDefinition

extends Object
implements BeanMetadataElement
java.lang.Object
   ↳ org.springframework.beans.factory.parsing.ImportDefinition

Class Overview

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

Summary

Public Constructors
ImportDefinition(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.
Public Methods
final Resource[] getActualResources()
final String getImportedResource()
Return the location of the imported resource.
final Object getSource()
Return the configuration source Object for this metadata element (may be null).
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.BeanMetadataElement

Public Constructors

public ImportDefinition (String importedResource)

Also: SpringBeans

Create a new ImportDefinition.

Parameters
importedResource the location of the imported resource

public ImportDefinition (String importedResource, Object source)

Also: SpringBeans

Create a new ImportDefinition.

Parameters
importedResource the location of the imported resource
source the source object (may be null)

public ImportDefinition (String importedResource, Resource[] actualResources, Object source)

Create a new ImportDefinition.

Parameters
importedResource the location of the imported resource
source the source object (may be null)

Public Methods

public final Resource[] getActualResources ()

Also: SpringBeans

public final String getImportedResource ()

Also: SpringBeans

Return the location of the imported resource.

public final Object getSource ()

Also: SpringBeans

Return the configuration source Object for this metadata element (may be null).