Class 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.

  • Constructor Details

    • CodeMatcherTranslationService

      public CodeMatcherTranslationService()
  • Method Details

    • doService

      public void doService(AdaptrisMessage message) throws ServiceException
      Throws:
      ServiceException
    • prepare

      public void prepare() throws CoreException
      Specified by:
      prepare in interface ComponentLifecycleExtension
      Overrides:
      prepare in class AbstractJsonPathSource
      Throws:
      CoreException
    • closeService

      protected void closeService()
      Specified by:
      closeService in class ServiceImp
    • initService

      protected void initService() throws CoreException
      Specified by:
      initService in class ServiceImp
      Throws:
      CoreException
    • start

      public void start() throws CoreException
      Specified by:
      start in interface ComponentLifecycle
      Overrides:
      start in class ServiceImp
      Throws:
      CoreException
    • getSerializedCodesMetadataKey

      public String getSerializedCodesMetadataKey()
    • setSerializedCodesMetadataKey

      public void setSerializedCodesMetadataKey(String serializedCodesMetadataKey)
    • getMissingCodesMetadataKey

      public String getMissingCodesMetadataKey()
    • setMissingCodesMetadataKey

      public void setMissingCodesMetadataKey(String missingCodesMetadataKey)
    • getPnSource

      public String getPnSource()
    • setPnSource

      public void setPnSource(String pnSource)
    • getPnDestination

      public String getPnDestination()
    • setPnDestination

      public void setPnDestination(String pnDestination)
    • getCodeType

      public String getCodeType()
    • setCodeType

      public void setCodeType(String codeType)
    • getTargetCodeType

      public String getTargetCodeType()
    • setTargetCodeType

      public void setTargetCodeType(String targetCodeType)
    • getCodeMatcherCallerService

      public Service getCodeMatcherCallerService()
    • setCodeMatcherCallerService

      public void setCodeMatcherCallerService(Service codeMatcherCallerService)
    • getCodeMatcherUpdaterService

      public Service getCodeMatcherUpdaterService()
    • setCodeMatcherUpdaterService

      public void setCodeMatcherUpdaterService(Service codeMatcherUpdaterService)