Package com.proagrica.bip.services
Class EvalauteRelativeXPathsService
java.lang.Object
com.adaptris.core.ServiceImp
com.proagrica.bip.services.AbstractJsonPathSource
com.proagrica.bip.services.EvalauteRelativeXPathsService
- All Implemented Interfaces:
AdaptrisComponent,ComponentLifecycle,ComponentLifecycleExtension,ConfigComment,MessageEventGenerator,Service,StateManagedComponent
@ComponentProfile(summary="Execute multiple XPaths for each relative XPath defined in the BIP config-api response.",
tag="service,bip,json,xml")
public class EvalauteRelativeXPathsService
extends AbstractJsonPathSource
Very specific service for reading and evaluating BIP relative XPaths.
In the adapter configuration file this class is aliased as evaluate-relative-xpaths which is the preferred alternative to the fully qualified classname when building your configuration.
-
Field Summary
Fields inherited from class com.adaptris.core.ServiceImp
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoiddoService(AdaptrisMessage message) protected voidvoidprepare()voidsetBaseXpath(String baseXpath) voidsetNamespaceContext(KeyValuePairSet namespaceContext) voidsetRelativeXpath1(String relativeXpath1) voidsetRelativeXpath2(String relativeXpath2) voidsetRelativeXpath3(String relativeXpath3) voidsetResultXmlMetadataKey(String resultXmlMetadataKey) voidsetXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xmlDocumentFactoryConfig) voidsetXmlSource(String xmlSource) Methods inherited from class com.proagrica.bip.services.AbstractJsonPathSource
doJsonPathMethods inherited from class com.adaptris.core.ServiceImp
changeState, close, continueOnFailure, createName, createQualifier, enabled, getComments, getContinueOnFail, getEnabled, getIsTrackingEndpoint, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setComments, setContinueOnFail, setEnabled, setIsTrackingEndpoint, setUniqueId, start, stop
-
Constructor Details
-
EvalauteRelativeXPathsService
public EvalauteRelativeXPathsService()
-
-
Method Details
-
doService
- Throws:
ServiceException
-
prepare
- Specified by:
preparein interfaceComponentLifecycleExtension- Overrides:
preparein classAbstractJsonPathSource- Throws:
CoreException
-
initService
- Specified by:
initServicein classServiceImp- Throws:
CoreException
-
closeService
protected void closeService()- Specified by:
closeServicein classServiceImp
-
getResultXmlMetadataKey
-
setResultXmlMetadataKey
-
getBaseXpath
-
setBaseXpath
-
getRelativeXpath1
-
setRelativeXpath1
-
getRelativeXpath2
-
setRelativeXpath2
-
getRelativeXpath3
-
setRelativeXpath3
-
getNamespaceContext
-
setNamespaceContext
-
getXmlDocumentFactoryConfig
-
setXmlDocumentFactoryConfig
-
getXmlSource
-
setXmlSource
-