Package com.proagrica.bip.services
Class CodeMatcherTranslationService
java.lang.Object
com.adaptris.core.ServiceImp
com.proagrica.bip.services.AbstractJsonPathSource
com.proagrica.bip.services.CodeMatcherTranslationService
- All Implemented Interfaces:
AdaptrisComponent,ComponentLifecycle,ComponentLifecycleExtension,ConfigComment,MessageEventGenerator,Service,StateManagedComponent
@ComponentProfile(summary="Uses a serialized list of codes and will call code-matcher for each code set, recording the result.",
tag="service,bip,json,xml")
public class CodeMatcherTranslationService
extends AbstractJsonPathSource
Very specific service for translating codes from code-matcher.
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()voidsetCodeMatcherCallerService(Service codeMatcherCallerService) voidsetCodeMatcherUpdaterService(Service codeMatcherUpdaterService) voidsetCodeType(String codeType) voidsetMissingCodesMetadataKey(String missingCodesMetadataKey) voidsetPnDestination(String pnDestination) voidsetPnSource(String pnSource) voidsetSerializedCodesMetadataKey(String serializedCodesMetadataKey) voidsetTargetCodeType(String targetCodeType) voidstart()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, stop
-
Constructor Details
-
CodeMatcherTranslationService
public CodeMatcherTranslationService()
-
-
Method Details
-
doService
- Throws:
ServiceException
-
prepare
- Specified by:
preparein interfaceComponentLifecycleExtension- Overrides:
preparein classAbstractJsonPathSource- Throws:
CoreException
-
closeService
protected void closeService()- Specified by:
closeServicein classServiceImp
-
initService
- Specified by:
initServicein classServiceImp- Throws:
CoreException
-
start
- Specified by:
startin interfaceComponentLifecycle- Overrides:
startin classServiceImp- Throws:
CoreException
-
getSerializedCodesMetadataKey
-
setSerializedCodesMetadataKey
-
getMissingCodesMetadataKey
-
setMissingCodesMetadataKey
-
getPnSource
-
setPnSource
-
getPnDestination
-
setPnDestination
-
getCodeType
-
setCodeType
-
getTargetCodeType
-
setTargetCodeType
-
getCodeMatcherCallerService
-
setCodeMatcherCallerService
-
getCodeMatcherUpdaterService
-
setCodeMatcherUpdaterService
-