Class ContextInstancePublicationRestServiceImpl

java.lang.Object
org.ikasan.rest.client.ModuleRestService
org.ikasan.job.orchestration.rest.client.ContextInstancePublicationRestServiceImpl
All Implemented Interfaces:
org.ikasan.spec.scheduled.instance.service.ContextInstancePublicationService<org.ikasan.spec.scheduled.instance.model.ContextInstance>

public class ContextInstancePublicationRestServiceImpl extends org.ikasan.rest.client.ModuleRestService implements org.ikasan.spec.scheduled.instance.service.ContextInstancePublicationService<org.ikasan.spec.scheduled.instance.model.ContextInstance>
  • Field Summary

    Fields inherited from class org.ikasan.rest.client.ModuleRestService

    basicToken, MODULE_REST_PASSWORD_PROPERTY, MODULE_REST_USERNAME_PROPERTY, restTemplate
  • Constructor Summary

    Constructors
    Constructor
    Description
    ContextInstancePublicationRestServiceImpl(org.springframework.core.env.Environment environment, org.springframework.http.client.HttpComponentsClientHttpRequestFactory httpComponentsClientHttpRequestFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    publish(String contextUrl, org.ikasan.spec.scheduled.instance.model.ContextInstance instance)
     
    void
    remove(String contextUrl, org.ikasan.spec.scheduled.instance.model.ContextInstance contextInstance)
     
    void
    removeAll(String contextUrl)
     

    Methods inherited from class org.ikasan.rest.client.ModuleRestService

    createHttpHeaders

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ContextInstancePublicationRestServiceImpl

      public ContextInstancePublicationRestServiceImpl(org.springframework.core.env.Environment environment, org.springframework.http.client.HttpComponentsClientHttpRequestFactory httpComponentsClientHttpRequestFactory)
  • Method Details

    • publish

      public void publish(String contextUrl, org.ikasan.spec.scheduled.instance.model.ContextInstance instance)
      Specified by:
      publish in interface org.ikasan.spec.scheduled.instance.service.ContextInstancePublicationService<org.ikasan.spec.scheduled.instance.model.ContextInstance>
    • remove

      public void remove(String contextUrl, org.ikasan.spec.scheduled.instance.model.ContextInstance contextInstance)
      Specified by:
      remove in interface org.ikasan.spec.scheduled.instance.service.ContextInstancePublicationService<org.ikasan.spec.scheduled.instance.model.ContextInstance>
    • removeAll

      public void removeAll(String contextUrl)
      Specified by:
      removeAll in interface org.ikasan.spec.scheduled.instance.service.ContextInstancePublicationService<org.ikasan.spec.scheduled.instance.model.ContextInstance>