public abstract class AbstractFaxClientSpiInterceptor extends Object implements FaxClientSpiInterceptor
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.proxy.interceptor.list | A list of interceptor types, separated by a ';' character. Each type must have a matching org.fax4j.proxy.interceptor.type.xxx property. |
log | none | false |
org.fax4j.proxy.interceptor.type.xxx | The interceptor type to class name mapping. | org.fax4j.proxy.interceptor.type.log=org.fax4j.spi.LogFaxClientSpiInterceptor | none | false |
Constructor and Description |
---|
AbstractFaxClientSpiInterceptor()
This is the default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getConfigurationValue(String key)
Returns the value from the SPI configuration based on the provided configuration key.
|
protected FaxClientSpi |
getFaxClientSpi()
This function returns the fax client SPI.
|
Logger |
getLogger()
Returns the internal logger.
|
void |
initialize(FaxClientSpi faxClientSpi)
This function initializes the fax client SPI interceptor.
This method is called by the FaxClientSpiFactory. |
protected abstract void |
initializeImpl()
This function initializes the fax client SPI interceptor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onMethodInvocationError, postMethodInvocation, preMethodInvocation
public AbstractFaxClientSpiInterceptor()
public final void initialize(FaxClientSpi faxClientSpi)
initialize
in interface FaxClientSpiInterceptor
faxClientSpi
- The fax client SPIprotected final FaxClientSpi getFaxClientSpi()
public final String getConfigurationValue(String key)
key
- The configuration keypublic final Logger getLogger()
protected abstract void initializeImpl()
Copyright © 2009–2020 fax4j. All rights reserved.