Interface SubstitutableFactory

  • All Known Implementing Classes:
    SubstituableFactoryImpl

    public interface SubstitutableFactory
    Factory to retrieve all the Substitutable entries from a FileEntry or an Archive.

    NOTE: Client can provide the their own implementation to customize the retrieval of substitutable entries from a file entry or an archive.

    • Method Detail

      • getFileEntrySubstituables

        List<? extends Substitutable> getFileEntrySubstituables​(com.sun.enterprise.admin.servermgmt.xml.stringsubs.FileEntry fileEntry)
        Gets all the Substitutable entries from a FileEntry. A file entry can point to a file/directory or can contain pattern or wild card characters.
        Parameters:
        fileEntry - A file entry.
        Returns:
        All the eligible Substitutable entries from a file entry.
      • getArchiveEntrySubstitutable

        List<? extends Substitutable> getArchiveEntrySubstitutable​(com.sun.enterprise.admin.servermgmt.xml.stringsubs.Archive archive)
        Gets all the Substitutable entries from an Archive. An archive entry can contain one or multiple member entries or can point the entries from nested archives.
        Parameters:
        archive - An archive.
        Returns:
        All the eligible Substitutable entries from an archive.