org.apache.sling.installer.api
Interface ResourceChangeListener


public interface ResourceChangeListener

OSGi Service listening for changes of resources. These resources are not changed through the installer but through any other means like a bundle being installed directly through the framework or a configuration directly changed through the configuration admin.

Since:
3.1

Method Summary
 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
 

Method Detail

resourceAddedOrUpdated

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

Parameters:
resourceType - The resource type
entityId - The entity id (symbolic name etc.)
is - Input stream or
dict - Dictionary

resourceRemoved

void resourceRemoved(String resourceType,
                     String entityId)
Inform the installer about a removed resource

Parameters:
resourceType - The resource type
entityId - The entity id (symbolic name etc.)


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.