public interface IResourceListener extends IRequestListener
One use for resource listeners is that they may be used to create components such as Image which respond to requests with a localized resource loaded from the classpath. The Image class allows reusable components to transparently bundle localized image resources. Components that use Image resources (instead of referencing static images in their markup) can be distributed as a self-contained JAR file.
Image
,
RenderedDynamicImageResource
Modifier and Type | Field and Description |
---|---|
static RequestListenerInterface |
INTERFACE
Resource listener interface object
|
Modifier and Type | Method and Description |
---|---|
void |
onResourceRequested()
Called when a resource is requested.
|
static final RequestListenerInterface INTERFACE
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.