@ComponentProfile(summary="Extract data via a regular expression and store it", tag="service,xml") public class RegexpService extends ServiceImp
This service allows you to configure an regular expression which will be executed on source data, the result of which can be saved to multiple locations.
In the adapter configuration file this class is aliased as regexp-service which is the preferred alternative to the fully qualified classname when building your configuration.
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
RegexpService() |
Modifier and Type | Method and Description |
---|---|
protected void |
closeService() |
void |
doService(AdaptrisMessage msg)
Apply the service to the message.
|
java.util.List<Execution> |
getExecutions() |
DataInputParameter<java.lang.String> |
getRegexpSource() |
protected void |
initService() |
void |
prepare()
Prepare for initialisation.
|
void |
setExecutions(java.util.List<Execution> list) |
void |
setRegexpSource(DataInputParameter<java.lang.String> src) |
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId, start, stop
public void doService(AdaptrisMessage msg) throws ServiceException
Service
Apply the service to the message.
msg
- the AdaptrisMessage
to processServiceException
- wrapping any underlying Exception
spublic void prepare() throws CoreException
ComponentLifecycleExtension
CoreException
protected void initService() throws CoreException
initService
in class ServiceImp
CoreException
protected void closeService()
closeService
in class ServiceImp
public DataInputParameter<java.lang.String> getRegexpSource()
public void setRegexpSource(DataInputParameter<java.lang.String> src)
public java.util.List<Execution> getExecutions()
public void setExecutions(java.util.List<Execution> list)