@ComponentSpecification public interface BrowsableResourceFactory extends DataResourceFactory
BrowsableResource
.DataResourceFactory
CDI_NAME
Modifier and Type | Method and Description |
---|---|
BrowsableResource |
createBrowsableResource(String resourceUri)
This method creates a new
BrowsableResource from the given resourceUri . |
createDataResource
BrowsableResource createBrowsableResource(String resourceUri) throws ResourceUriUndefinedException
BrowsableResource
from the given resourceUri
. The
following URI-schemes are guaranteed to be supported:
scheme | example URI | default implementation |
---|---|---|
file | file:///tmp/foo.xml | FileResource |
resourceUri
- is the absolute URI
pointing to the location of the
requested BrowsableResource
.BrowsableResource
.ResourceUriUndefinedException
- if the given resourceUri
is undefined (e.g. the scheme
is NOT supported).Copyright © 2001–2014 mmm-Team. All rights reserved.