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 ArchiveEntryWrapper
getParentArchive()
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.void
notifyCompletion()
AnArchiveMember
call this method to notify the successful completion of string substitution.
-
-
-
Method Detail
-
getParentArchive
public ArchiveEntryWrapper getParentArchive()
Description copied from interface:ArchiveEntryWrapper
Get's the parent archive wrapper applicable only for the nested archive.- Specified by:
getParentArchive
in interfaceArchiveEntryWrapper
- Returns:
- Reference to the parent archive or
null
if no parent archive found.
-
getSubstitutables
public List<? extends ArchiveMember> getSubstitutables()
Description copied from interface:ArchiveEntryWrapper
Get's all the substitutable entries from an archive. List also includes theSubstitutable
entries from the nested archive.- Specified by:
getSubstitutables
in interfaceArchiveEntryWrapper
- Returns:
- All the archive entries that has to undergo string substitution.
-
notifyCompletion
public void notifyCompletion()
Description copied from interface:ArchiveEntryWrapper
AnArchiveMember
call this method to notify the successful completion of string substitution.- Specified by:
notifyCompletion
in interfaceArchiveEntryWrapper
-
-