- All Superinterfaces:
ArchiveHandler
- All Known Implementing Classes:
EarHandler
, OSGiArchiveHandler
@Contract
public interface CompositeHandler
extends ArchiveHandler
Composite handlers are just like any other ArchiveHandler except they
get a chance at looking at the archive before the archive handlers do
The main reason for this tag interface is that some archive handlers might
be tricked into thinking a composite archive is theirs when in fact they only
own a part of it.
For instance, take a war file inside an ear file. and asssume that the war file
contains some .jsp files. The archive handler responsible for handling the war
file could be fooled into thinking the ear file is a war file since it contains
jsp files, yet in reality, it only owns one of the sub archive bundled inside
the composite ear file.
- Author:
- Jerome Dochez