org.apache.felix.dm
Interface ResourceHandler

All Known Subinterfaces:
ResourceDependency
All Known Implementing Classes:
ResourceDependencyImpl

public interface ResourceHandler

Service interface for anybody wanting to be notified of changes to resources.


Field Summary
static String FILTER
          Name of the property that's used to describe the filter condition for a resource.
static String HOST
          The host part of the URL.
static String PATH
          The path part of the URL.
static String PORT
          The port part of the URL.
static String PROTOCOL
          The protocol part of the URL.
static String URL
          Exact URL that this handler is looking for.
 
Method Summary
 void added(URL resource)
          Invoked whenever a new resource is added.
 void changed(URL resource)
          Invoked whenever an existing resource changes.
 void removed(URL resource)
          Invoked whenever an existing resource is removed.
 

Field Detail

FILTER

static final String FILTER
Name of the property that's used to describe the filter condition for a resource.

See Also:
Constant Field Values

URL

static final String URL
Exact URL that this handler is looking for. Can be used instead of a filter to be very explicit about the resource you're looking for.

See Also:
Constant Field Values

HOST

static final String HOST
The host part of the URL.

See Also:
Constant Field Values

PATH

static final String PATH
The path part of the URL.

See Also:
Constant Field Values

PROTOCOL

static final String PROTOCOL
The protocol part of the URL.

See Also:
Constant Field Values

PORT

static final String PORT
The port part of the URL.

See Also:
Constant Field Values
Method Detail

added

void added(URL resource)
Invoked whenever a new resource is added.


changed

void changed(URL resource)
Invoked whenever an existing resource changes.


removed

void removed(URL resource)
Invoked whenever an existing resource is removed.



Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.