|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UpdateHandler
An update handler is a service handling updates of resources through other ways than the installer, e.g. handling a configuration change through the web console or directly through the configuration admin API.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_SCHEMES
Required configuration property defining the schemes, this handler is handling. |
| Method Summary | |
|---|---|
UpdateResult |
handleRemoval(java.lang.String resourceType,
java.lang.String id,
java.lang.String url)
Handle the remove of a resource |
UpdateResult |
handleUpdate(java.lang.String resourceType,
java.lang.String id,
java.lang.String url,
java.util.Dictionary<java.lang.String,java.lang.Object> dict,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Handle the update of a resource |
UpdateResult |
handleUpdate(java.lang.String resourceType,
java.lang.String id,
java.lang.String url,
java.io.InputStream is,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Handle the update of a resource |
| Field Detail |
|---|
static final java.lang.String PROPERTY_SCHEMES
| Method Detail |
|---|
UpdateResult handleRemoval(java.lang.String resourceType,
java.lang.String id,
java.lang.String url)
resourceType - The resource typeid - The resource id, e.g. symbolic name etc.url - The url where an earlier version of this resource came from
null
UpdateResult handleUpdate(java.lang.String resourceType,
java.lang.String id,
java.lang.String url,
java.util.Dictionary<java.lang.String,java.lang.Object> dict,
java.util.Map<java.lang.String,java.lang.Object> attributes)
resourceType - The resource typeid - The resource id, e.g. symbolic name etc.url - The url where an earlier version of this resource came from (optional)dict - Dictionaryattributes - Optional additional attributes.
null
UpdateResult handleUpdate(java.lang.String resourceType,
java.lang.String id,
java.lang.String url,
java.io.InputStream is,
java.util.Map<java.lang.String,java.lang.Object> attributes)
resourceType - The resource typeid - The resource id, e.g. symbolic name etc.url - The url where an earlier version of this resource came from (optional)is - Input stream to the contents of the resourceattributes - Optional additional attributes.
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||