gov.grants.apply.ws
Class WSProcessorFactory

java.lang.Object
  extended bygov.grants.apply.ws.WSProcessorFactory

public class WSProcessorFactory
extends java.lang.Object

Concrete factory for instantiating WSProcessors. The key to this class is the processor Map. The Map uses the Web Services Request class name as the key and returns the processor class as the value. No particular instance is associated with this class. The PRODUCTION_MODE property should be set to false for Reference implementation users and true for Grants.gov server deployment.

Author:
Brian Husted

Field Summary
(package private) static org.apache.log4j.Logger log
           
 
Method Summary
static WSProcessor createWSProcessor(java.lang.Object request)
          Creates the WSProcessor instance based on the request object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static final org.apache.log4j.Logger log
Method Detail

createWSProcessor

public static WSProcessor createWSProcessor(java.lang.Object request)
                                     throws java.lang.Exception
Creates the WSProcessor instance based on the request object.

Parameters:
request - the Object.
Returns:
Throws:
java.lang.InstantiationException
java.lang.Exception