org.springframework.beans.factory.parsing

Class ImportDefinition

  • java.lang.Object
    • org.springframework.beans.factory.parsing.ImportDefinition
    • Constructor Summary

      Constructors 
      Constructor and Description
      ImportDefinition(java.lang.String importedResource)
      Create a new ImportDefinition.
      ImportDefinition(java.lang.String importedResource, java.lang.Object source)
      Create a new ImportDefinition.
      ImportDefinition(java.lang.String importedResource, Resource[] actualResources, java.lang.Object source)
      Create a new ImportDefinition.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Resource[] getActualResources() 
      java.lang.String getImportedResource()
      Return the location of the imported resource.
      java.lang.Object getSource()
      Return the configuration source Object for this metadata element (may be null).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImportDefinition

        public ImportDefinition(java.lang.String importedResource)
        Create a new ImportDefinition.
        Parameters:
        importedResource - the location of the imported resource
      • ImportDefinition

        public ImportDefinition(java.lang.String importedResource,
                                @Nullable
                                java.lang.Object source)
        Create a new ImportDefinition.
        Parameters:
        importedResource - the location of the imported resource
        source - the source object (may be null)
      • ImportDefinition

        public ImportDefinition(java.lang.String importedResource,
                                @Nullable
                                Resource[] actualResources,
                                @Nullable
                                java.lang.Object source)
        Create a new ImportDefinition.
        Parameters:
        importedResource - the location of the imported resource
        source - the source object (may be null)
    • Method Detail

      • getImportedResource

        public final java.lang.String getImportedResource()
        Return the location of the imported resource.