Class 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void publish​(java.lang.String contextUrl, org.ikasan.spec.scheduled.instance.model.ContextInstance instance)  
      void remove​(java.lang.String contextUrl, org.ikasan.spec.scheduled.instance.model.ContextInstance contextInstance)  
      void removeAll​(java.lang.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 Detail

      • ContextInstancePublicationRestServiceImpl

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

      • publish

        public void publish​(java.lang.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​(java.lang.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​(java.lang.String contextUrl)
        Specified by:
        removeAll in interface org.ikasan.spec.scheduled.instance.service.ContextInstancePublicationService<org.ikasan.spec.scheduled.instance.model.ContextInstance>