public interface 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 |
Modifier and Type | Method and Description |
---|---|
void |
initialize(FaxClientSpi faxClientSpi)
This function initializes the fax client SPI interceptor.
This method is called by the FaxClientSpiFactory. |
void |
onMethodInvocationError(Method method,
Object[] arguments,
Throwable throwable)
This function is invoked by the fax client SPI proxy in of an error while invoking the method in the fax client
SPI itself.
|
void |
postMethodInvocation(Method method,
Object[] arguments,
Object output)
This function is invoked by the fax client SPI proxy after invoking the method in the fax client SPI itself.
|
void |
preMethodInvocation(Method method,
Object[] arguments)
This function is invoked by the fax client SPI proxy before invoking the method in the fax client SPI itself.
|
void initialize(FaxClientSpi faxClientSpi)
faxClientSpi
- The fax client SPIvoid preMethodInvocation(Method method, Object[] arguments)
method
- The method invokedarguments
- The method argumentsvoid postMethodInvocation(Method method, Object[] arguments, Object output)
method
- The method invokedarguments
- The method argumentsoutput
- The method outputvoid onMethodInvocationError(Method method, Object[] arguments, Throwable throwable)
method
- The method invokedarguments
- The method argumentsthrowable
- The throwable while invoking the methodCopyright © 2009–2020 fax4j. All rights reserved.