Package com.alipay.sofa.ark.spi.archive
Interface PluginArchive
- All Superinterfaces:
Archive,Iterable<Archive.Entry>
An archive represents an ark-plugin
- Since:
- 0.1.0
- Author:
- qilong.zql
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.alipay.sofa.ark.spi.archive.Archive
Archive.Entry, Archive.EntryFilter -
Method Summary
Modifier and TypeMethodDescriptionURL[]getUrls()fetch classpath of archive to startup ark-pluginbooleanisEntryExist(Archive.EntryFilter filter) check whether the entry satisfy the givenArchive.EntryFilterexists or notvoidsetExtensionUrls(URL[] extensionUrls) setExtensionUrlsMethods inherited from interface com.alipay.sofa.ark.spi.archive.Archive
getInputStream, getManifest, getNestedArchive, getNestedArchives, getUrlMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getUrls
fetch classpath of archive to startup ark-plugin- Returns:
- the classpath contained in ark-plugin archive
- Throws:
IOException- throw exception when meets error
-
setExtensionUrls
setExtensionUrls- Parameters:
extensionUrls-
-
isEntryExist
check whether the entry satisfy the givenArchive.EntryFilterexists or not- Parameters:
filter-- Returns:
-