Class ArchiveEntryWrapperImpl
- java.lang.Object
-
- com.sun.enterprise.admin.servermgmt.stringsubs.impl.ArchiveEntryWrapperImpl
-
- All Implemented Interfaces:
ArchiveEntryWrapper
public class ArchiveEntryWrapperImpl extends Object implements ArchiveEntryWrapper
Handles the operation related with an archive string substitution process. i.e extracting the substitutable entries from jar and rebuilding the jar after substitution operation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArchiveEntryWrappergetParentArchive()Get's the parent archive wrapper applicable only for the nested archive.List<? extends ArchiveMember>getSubstitutables()Get's all the substitutable entries from an archive.voidnotifyCompletion()AnArchiveMembercall this method to notify the successful completion of string substitution.
-
-
-
Method Detail
-
getParentArchive
public ArchiveEntryWrapper getParentArchive()
Description copied from interface:ArchiveEntryWrapperGet's the parent archive wrapper applicable only for the nested archive.- Specified by:
getParentArchivein interfaceArchiveEntryWrapper- Returns:
- Reference to the parent archive or
nullif no parent archive found.
-
getSubstitutables
public List<? extends ArchiveMember> getSubstitutables()
Description copied from interface:ArchiveEntryWrapperGet's all the substitutable entries from an archive. List also includes theSubstitutableentries from the nested archive.- Specified by:
getSubstitutablesin interfaceArchiveEntryWrapper- Returns:
- All the archive entries that has to undergo string substitution.
-
notifyCompletion
public void notifyCompletion()
Description copied from interface:ArchiveEntryWrapperAnArchiveMembercall this method to notify the successful completion of string substitution.- Specified by:
notifyCompletionin interfaceArchiveEntryWrapper
-
-