Class EventSinkXmlWriter

java.lang.Object
org.wso2.carbon.event.sink.config.EventSinkXmlWriter

public class EventSinkXmlWriter extends Object
Creates Event Sink xml artifact and does operation on it
  • Constructor Details

    • EventSinkXmlWriter

      public EventSinkXmlWriter()
  • Method Details

    • writeEventSink

      public boolean writeEventSink(org.wso2.carbon.event.sink.EventSink eventSink) throws org.wso2.carbon.event.sink.EventSinkException
      Writes given Event Sink details to xml file
      Parameters:
      eventSink - the Event Sink to be write
      Throws:
      org.wso2.carbon.event.sink.EventSinkException
    • updateEventSink

      public boolean updateEventSink(org.wso2.carbon.event.sink.EventSink eventSink) throws org.wso2.carbon.event.sink.EventSinkException
      Updates given Event Sink details
      Parameters:
      eventSink - the Event Sink to be updated
      Throws:
      org.wso2.carbon.event.sink.EventSinkException