com.cafesoft.cams.access.url
Class UrlResourceRequestFactory

java.lang.Object
  extended by com.cafesoft.cams.access.url.UrlResourceRequestFactory
All Implemented Interfaces:
ResourceRequestFactory

public class UrlResourceRequestFactory
extends Object
implements ResourceRequestFactory

UrlResourceRequestFactory implements a factory for creating ResourceRequests implemented by class UrlResourceRequest.

Since:
2/1/2002

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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlResourceRequestFactory

public UrlResourceRequestFactory()
Create a new UrlResourceRequestFactory.

Method Detail

initialize

public void initialize(Properties properties)
                throws ConfigException
Initialize the ResourceRequestFactory.

Specified by:
initialize in interface ResourceRequestFactory
Parameters:
properties - the initialization properties.
Throws:
ConfigException - if an error occurs initializing factory.

createResourceRequest

public ResourceRequest createResourceRequest(ResourceType type,
                                             String id,
                                             String actions)
                                      throws InvalidResourceException
Create a ResourceRequest.

Specified by:
createResourceRequest in interface ResourceRequestFactory
Parameters:
type - the ResourceType corresponding to the type of ResourceRequest.
id - the resource identifier.
actions - the list of desired actions.
Returns:
a ResourceRequest corresponding to the specified type, resource identifier, and actions.
Throws:
InvalidResourceException - if the specified type is not known to the factory.


Generated on 10:38:35 AM April 14, 2011, © 1996-2010 Cafésoft LLC. All rights reserved.