T
- The context typepublic abstract class AbstractContextFaxBridge<T> extends FaxBridgeImpl implements ContextFaxBridge<T>
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.bridge.vendor.policy.class.name | The vendor policy class name. | org.fax4j.bridge.EmptyVendorPolicy | org.fax4j.bridge.EmptyVendorPolicy | false |
VENDOR_POLICY_CLASS_NAME
Constructor and Description |
---|
AbstractContextFaxBridge()
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
protected RequestParser<T> |
createRequestParser()
This function creates, initializes and returns a new request parser.
|
protected RequestParser<T> |
createRequestParser(String configurationKey,
String defaultParserClassName)
This function creates, initializes and returns a new request parser.
|
protected abstract String |
getDefaultParserClassName()
This function returns the default request parser class name.
|
protected abstract String |
getRequestParserConfigurationKey()
This function returns the key used to fetch the request parser class name from the fax4j.properties.
|
protected void |
initializeImpl()
This function initializes the fax bridge.
|
FaxJob |
submitFaxJob(T inputData)
This function will submit a new fax job.
|
createVendorPolicy, updateFaxJobWithFileInfo
getProvider
createFaxJob, getConfiguration, getConfigurationValue, getConfigurationValue, getFaxClient, getLogger, getPropertyPart, getVendorPolicy, initialize, submitFaxJob
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createFaxJob, getFaxClient, getLogger, getVendorPolicy, initialize, submitFaxJob
getProvider
getConfiguration, getConfigurationValue, getConfigurationValue, getPropertyPart
public AbstractContextFaxBridge()
protected void initializeImpl()
initializeImpl
in class AbstractFaxBridge
public FaxJob submitFaxJob(T inputData)
submitFaxJob
in interface ContextFaxBridge<T>
inputData
- The input data holding the fax job informationprotected RequestParser<T> createRequestParser()
protected RequestParser<T> createRequestParser(String configurationKey, String defaultParserClassName)
configurationKey
- The configuration key used to fetch the parser class namedefaultParserClassName
- The default parser class nameprotected abstract String getRequestParserConfigurationKey()
protected abstract String getDefaultParserClassName()
Copyright © 2009–2020 fax4j. All rights reserved.