|
OPS4J Pax Swissbox :: TinyBundles 1.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TinyDP
Humane API for constructing Deployment Packages. Capabilities and final format will comply to OSGi Compendium R4 Version 4.2, Deployment Admin Specification Version 1.1
Method Summary | |
---|---|
InputStream |
build()
|
TinyDP |
remove(String identifier)
|
TinyDP |
set(String key,
String value)
Meta Data that will appear in the Main Section of this DP Meta Inf Manifest |
TinyDP |
setBundle(String name,
InputStream inp)
the very basic way to add a bundle. |
TinyDP |
setBundle(String name,
String url)
convenient adapter for setBundle(String,InputStream) |
TinyDP |
setBundle(String name,
TinyBundle inp)
convinient adapter for setBundle(String,InputStream) |
TinyDP |
setResource(String name,
InputStream inp)
|
TinyDP |
setResource(String name,
String url)
|
TinyDP |
setSymbolicName(String value)
Shortcut for set( Constants.DEPLOYMENTPACKAGE_SYMBOLICMAME, value ) |
TinyDP |
setVersion(String value)
Shortcut for set( Constants.DEPLOYMENTPACKAGE_VERSION, value ) |
Method Detail |
---|
TinyDP set(String key, String value)
key
- to be usedvalue
- to be used
TinyDP setSymbolicName(String value)
value
- to be used
TinyDP setVersion(String value)
value
- to be used
TinyDP setResource(String name, InputStream inp) throws IOException
IOException
TinyDP setResource(String name, String url) throws IOException
IOException
InputStream build() throws IOException
IOException
TinyDP remove(String identifier)
TinyDP setBundle(String name, TinyBundle inp) throws IOException
name
- identifier of Name parameter in DP manifestinp
- content of this resource
IOException
- in case of an IO error when processing inpTinyDP setBundle(String name, String url) throws IOException
name
- identifier of Name parameter in DP manifesturl
- content of this resource
IOException
- if something goes wrong while interpreting the urlTinyDP setBundle(String name, InputStream inp) throws IOException
name
- identifier of Name parameter in DP manifestinp
- content of this resource
IOException
- in case of an IO error when processing inp
|
OPS4J Pax Swissbox :: TinyBundles 1.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |