public class EventSinkXmlReader extends Object
Constructor and Description |
---|
EventSinkXmlReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
deleteEventSinkFromName(String name)
Deletes Event Sink with Specific name
|
List<org.wso2.carbon.event.sink.EventSink> |
getAllEventSinks()
Obtain all the Event Sinks
|
org.wso2.carbon.event.sink.EventSink |
getEventSinkFromName(String name)
Finds Event Sink with specific name
|
static String |
getTenantDeployementDirectoryPath()
Obtain corresponding tenant Event Sink deployment directory path
|
org.apache.axiom.om.OMElement |
toOM(InputStream inputStream)
Converts an XML inputStream into an OMElement
|
public static String getTenantDeployementDirectoryPath() throws org.wso2.carbon.event.sink.EventSinkException
org.wso2.carbon.event.sink.EventSinkException
public List<org.wso2.carbon.event.sink.EventSink> getAllEventSinks()
public org.wso2.carbon.event.sink.EventSink getEventSinkFromName(String name) throws org.wso2.carbon.event.sink.EventSinkException
name
- the Event Sink name to obtainorg.wso2.carbon.event.sink.EventSinkException
public boolean deleteEventSinkFromName(String name) throws org.wso2.carbon.event.sink.EventSinkException
name
- the Event Sink name to deleteorg.wso2.carbon.event.sink.EventSinkException
public org.apache.axiom.om.OMElement toOM(InputStream inputStream) throws org.wso2.carbon.event.sink.EventSinkException
inputStream
- the XML inputStream to be convertedorg.wso2.carbon.event.sink.EventSinkException
Copyright © 2020 WSO2. All rights reserved.