Class SubstituableFactoryImpl
- java.lang.Object
-
- com.sun.enterprise.admin.servermgmt.stringsubs.impl.SubstituableFactoryImpl
-
- All Implemented Interfaces:
SubstitutableFactory
public class SubstituableFactoryImpl extends Object implements SubstitutableFactory
DefaultSubstitutableFactory
implementation to retrieve theSubstitutable
entries from aFileEntry
or anArchive
.
-
-
Constructor Summary
Constructors Constructor Description SubstituableFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public List<? extends Substitutable> getFileEntrySubstituables(com.sun.enterprise.admin.servermgmt.xml.stringsubs.FileEntry fileEntry)
Description copied from interface:SubstitutableFactory
Gets all theSubstitutable
entries from aFileEntry
. A file entry can point to a file/directory or can contain pattern or wild card characters.- Specified by:
getFileEntrySubstituables
in interfaceSubstitutableFactory
- Parameters:
fileEntry
- A file entry.- Returns:
- All the eligible
Substitutable
entries from a file entry.
-
getArchiveEntrySubstitutable
public List<? extends Substitutable> getArchiveEntrySubstitutable(com.sun.enterprise.admin.servermgmt.xml.stringsubs.Archive archive)
Description copied from interface:SubstitutableFactory
Gets all theSubstitutable
entries from anArchive
. An archive entry can contain one or multiple member entries or can point the entries from nested archives.- Specified by:
getArchiveEntrySubstitutable
in interfaceSubstitutableFactory
- Parameters:
archive
- An archive.- Returns:
- All the eligible
Substitutable
entries from an archive.
-
-