Interface SubstitutableFactory
-
- All Known Implementing Classes:
SubstituableFactoryImpl
public interface SubstitutableFactory
Factory to retrieve all theSubstitutable
entries from aFileEntry
or anArchive
.NOTE: Client can provide the their own implementation to customize the retrieval of substitutable entries from a file entry or an archive.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends Substitutable>
getArchiveEntrySubstitutable(com.sun.enterprise.admin.servermgmt.xml.stringsubs.Archive archive)
Gets all theSubstitutable
entries from anArchive
.List<? extends Substitutable>
getFileEntrySubstituables(com.sun.enterprise.admin.servermgmt.xml.stringsubs.FileEntry fileEntry)
Gets all theSubstitutable
entries from aFileEntry
.
-
-
-
Method Detail
-
getFileEntrySubstituables
List<? extends Substitutable> getFileEntrySubstituables(com.sun.enterprise.admin.servermgmt.xml.stringsubs.FileEntry fileEntry)
Gets all theSubstitutable
entries from aFileEntry
. 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 theSubstitutable
entries from anArchive
. 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.
-
-