|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceFactory
Interface for resource factories
| Method Summary | |
|---|---|
boolean |
canHandle(java.net.URI resourceURI)
Determines whether a ResourceFactory can handle a resource for a given URI. |
void |
configureRequestProperties(java.util.Properties properties)
Initialize the ResourceFactory with extra Properties needed |
java.lang.Object |
createFrom(java.net.URI resource)
Creates a resource object to use from a given URI. |
void |
removeRequestProperties(java.util.Properties properties)
Lifecycle method for removing per request properties |
| Methods inherited from interface org.jmage.Configurable |
|---|
configure |
| Method Detail |
|---|
void configureRequestProperties(java.util.Properties properties)
properties - boolean canHandle(java.net.URI resourceURI)
resourceURI - the URI of the resource.
java.lang.Object createFrom(java.net.URI resource)
throws JmageException
resource -
ResourceException - if the object cannot be found or an error occurs during creation.
JmageExceptionvoid removeRequestProperties(java.util.Properties properties)
properties -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||