Class SubstituableFactoryImpl
- java.lang.Object
-
- com.sun.enterprise.admin.servermgmt.stringsubs.impl.SubstituableFactoryImpl
-
- All Implemented Interfaces:
SubstitutableFactory
public class SubstituableFactoryImpl extends Object implements SubstitutableFactory
DefaultSubstitutableFactoryimplementation to retrieve theSubstitutableentries from aFileEntryor anArchive.
-
-
Constructor Summary
Constructors Constructor Description SubstituableFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends Substitutable>getArchiveEntrySubstitutable(Archive archive)Get's all theSubstitutableentries from anArchive.List<? extends Substitutable>getFileEntrySubstituables(FileEntry fileEntry)Get's all theSubstitutableentries from aFileEntry.
-
-
-
Method Detail
-
getFileEntrySubstituables
public List<? extends Substitutable> getFileEntrySubstituables(FileEntry fileEntry)
Description copied from interface:SubstitutableFactoryGet's all theSubstitutableentries from aFileEntry. A file entry can point to a file/directory or can contain pattern or wild card characters.- Specified by:
getFileEntrySubstituablesin interfaceSubstitutableFactory- Parameters:
fileEntry- A file entry.- Returns:
- All the eligible
Substitutableentries from a file entry.
-
getArchiveEntrySubstitutable
public List<? extends Substitutable> getArchiveEntrySubstitutable(Archive archive)
Description copied from interface:SubstitutableFactoryGet's all theSubstitutableentries from anArchive. An archive entry can contain one or multiple member entries or can point the entries from nested archives.- Specified by:
getArchiveEntrySubstitutablein interfaceSubstitutableFactory- Parameters:
archive- An archive.- Returns:
- All the eligible
Substitutableentries from an archive.
-
-