public class TelesalesResponseBuilderFactory
extends java.lang.Object
Note that the key is the string concatenation of the Verb and the Noun from the request BOD.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Class Name.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field
|
Constructor and Description |
---|
TelesalesResponseBuilderFactory()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object | getResponseBuilder(CommandContext aCmdCtxt, TypedProperty aReqProperties, TypedProperty aRspProperties, org.w3c.dom.Document aRequestBod, org.w3c.dom.Document aResponseBOD, java.lang.String astrResponseBuilderKey)
This method gets the response builder.
|
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public TelesalesResponseBuilderFactory()
public java.lang.Object getResponseBuilder(CommandContext aCmdCtxt, TypedProperty aReqProperties, TypedProperty aRspProperties, org.w3c.dom.Document aRequestBod, org.w3c.dom.Document aResponseBOD, java.lang.String astrResponseBuilderKey)
This method will first use the key astrResponseBuilderKey specified to do a look up from the registry to find the correct response builder class.
It will then create an instance of the response builder and invoke the init method of the response builder.
Note that the key is the string concatenation of the Verb and the Noun.