|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.cams.access.url.UrlResourceRequestFactory
UrlResourceRequestFactory implements a factory for creating
ResourceRequests implemented by class
UrlResourceRequest.
| Constructor Summary | |
UrlResourceRequestFactory()
Create a new UrlResourceRequestFactory. |
|
| Method Summary | |
ResourceRequest |
createResourceRequest(ResourceType type,
String id,
String actions)
Create a ResourceRequest. |
void |
initialize(Properties properties)
Initialize the ResourceRequestFactory. |
void |
parseSchemeMap(Properties properties)
Parse the properties object into a hashmap that contains all of the supported schemes along with their default port value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UrlResourceRequestFactory()
| Method Detail |
public void initialize(Properties properties)
throws ConfigException
initialize in interface ResourceRequestFactoryproperties - the initialization properties.
ConfigException - if an error occurs initializing factory.
public ResourceRequest createResourceRequest(ResourceType type,
String id,
String actions)
throws InvalidResourceException
createResourceRequest in interface ResourceRequestFactorytype - the ResourceType corresponding to the type of
ResourceRequest.id - the resource identifier.actions - the list of desired actions.
InvalidResourceException - if the specified type
is not known to the factory.
InvalidResourceException - if the type
of Resource associated with the ResourceRequest is not known
public void parseSchemeMap(Properties properties)
throws ConfigException
properties - the Properties object to get the scheme and port
values from.
ConfigException - if any error occurs parsing the properties.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||