public interface ResourceHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILTER
Name of the property that's used to describe the filter condition for a resource.
|
static java.lang.String |
HOST
The host part of the URL.
|
static java.lang.String |
PATH
The path part of the URL.
|
static java.lang.String |
PORT
The port part of the URL.
|
static java.lang.String |
PROTOCOL
The protocol part of the URL.
|
static java.lang.String |
URL
Exact URL that this handler is looking for.
|
Modifier and Type | Method and Description |
---|---|
void |
added(java.net.URL resource)
Deprecated.
Please use
added(URL, Dictionary) instead. When both are specified,
the new method takes precedence and the deprecated one is not invoked. |
void |
added(java.net.URL resource,
java.util.Dictionary<?,?> resourceProperties)
Invoked whenever a new resource is added.
|
void |
changed(java.net.URL resource)
Deprecated.
Please use
changed(URL, Dictionary) instead. When both are specified,
the new method takes precedence and the deprecated one is not invoked. |
void |
changed(java.net.URL resource,
java.util.Dictionary<?,?> resourceProperties)
Invoked whenever an existing resource changes.
|
void |
removed(java.net.URL resource)
Deprecated.
Please use
removed(URL, Dictionary) instead. When both are specified,
the new method takes precedence and the deprecated one is not invoked. |
void |
removed(java.net.URL resource,
java.util.Dictionary<?,?> resourceProperties)
Invoked whenever an existing resource is removed.
|
static final java.lang.String FILTER
static final java.lang.String URL
static final java.lang.String HOST
static final java.lang.String PATH
static final java.lang.String PROTOCOL
static final java.lang.String PORT
void added(java.net.URL resource)
added(URL, Dictionary)
instead. When both are specified,
the new method takes precedence and the deprecated one is not invoked.void added(java.net.URL resource, java.util.Dictionary<?,?> resourceProperties)
void changed(java.net.URL resource)
changed(URL, Dictionary)
instead. When both are specified,
the new method takes precedence and the deprecated one is not invoked.void changed(java.net.URL resource, java.util.Dictionary<?,?> resourceProperties)
void removed(java.net.URL resource)
removed(URL, Dictionary)
instead. When both are specified,
the new method takes precedence and the deprecated one is not invoked.void removed(java.net.URL resource, java.util.Dictionary<?,?> resourceProperties)