@ProviderType
public interface ResourceChangeListener
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_PERSIST
This attribute defines if a change of the resource should be persisted by the
installer.
|
Modifier and Type | Method and Description |
---|---|
void |
resourceAddedOrUpdated(String resourceType,
String entityId,
InputStream is,
Dictionary<String,Object> dict,
Map<String,Object> attributes)
Inform the installer about an added or updated
resource
|
void |
resourceRemoved(String resourceType,
String entityId)
Inform the installer about a removed resource
|
static final String RESOURCE_PERSIST
void resourceAddedOrUpdated(String resourceType, String entityId, InputStream is, Dictionary<String,Object> dict, Map<String,Object> attributes)
resourceType
- The resource typeentityId
- The entity id (symbolic name etc.)is
- Input stream ordict
- Dictionaryattributes
- Map of attributes.Copyright © 2017 The Apache Software Foundation. All rights reserved.