org.wso2.carbon.event.builder.admin.internal
Class EventBuilderAdminService
java.lang.Object
org.wso2.carbon.core.AbstractAdmin
org.wso2.carbon.event.builder.admin.internal.EventBuilderAdminService
public class EventBuilderAdminService
- extends org.wso2.carbon.core.AbstractAdmin
| Fields inherited from class org.wso2.carbon.core.AbstractAdmin |
axisConfig, configurationContext |
|
Method Summary |
void |
deployDefaultEventReceiver(String streamId)
|
void |
deployEventBuilderConfiguration(String eventBuilderConfigXml)
Deploys an event builder by parsing the passed in XML configuration |
void |
deployJsonEventBuilderConfiguration(String eventBuilderName,
String streamNameWithVersion,
String eventAdaptorName,
String eventAdaptorType,
EventInputPropertyConfigurationDto[] jsonPathExpressions,
PropertyDto[] inputPropertyConfiguration,
boolean mappingEnabled)
|
void |
deployMapEventBuilderConfiguration(String eventBuilderName,
String streamNameWithVersion,
String eventAdaptorName,
String eventAdaptorType,
EventInputPropertyConfigurationDto[] mappingProperties,
PropertyDto[] inputPropertyConfiguration,
boolean mappingEnabled)
|
void |
deployTextEventBuilderConfiguration(String eventBuilderName,
String streamNameWithVersion,
String eventAdaptorName,
String eventAdaptorType,
EventInputPropertyConfigurationDto[] textMappingAttributes,
PropertyDto[] inputPropertyConfiguration,
boolean mappingEnabled)
|
void |
deployWso2EventBuilderConfiguration(String eventBuilderName,
String streamNameWithVersion,
String eventAdaptorName,
String eventAdaptorType,
EventInputPropertyConfigurationDto[] metaData,
EventInputPropertyConfigurationDto[] correlationData,
EventInputPropertyConfigurationDto[] payloadData,
PropertyDto[] inputPropertyConfiguration,
boolean mappingEnabled)
Deploys an event builder with mapping type of Wso2Event |
void |
deployXmlEventBuilderConfiguration(String eventBuilderName,
String streamNameWithVersion,
String eventAdaptorName,
String eventAdaptorType,
EventInputPropertyConfigurationDto[] xpathExpressions,
PropertyDto[] inputPropertyConfiguration,
PropertyDto[] xpathDefinitions,
String parentSelectorXpath,
boolean mappingEnabled)
|
void |
editActiveEventBuilderConfiguration(String originalEventBuilderName,
String eventBuilderConfigXml)
|
void |
editInactiveEventBuilderConfiguration(String filename,
String eventBuilderConfigXml)
|
EventBuilderConfigurationDto |
getActiveEventBuilderConfiguration(String eventBuilderName)
|
String |
getActiveEventBuilderConfigurationContent(String eventBuilderName)
|
EventBuilderConfigurationInfoDto[] |
getAllActiveEventBuilderConfigurations()
|
EventBuilderConfigurationFileDto[] |
getAllInactiveEventBuilderConfigurations()
|
EventBuilderConfigurationDto[] |
getAllStreamSpecificActiveEventBuilderConfiguration(String streamId)
|
EventBuilderMessagePropertyDto[] |
getEventBuilderMessageProperties(String inputEventAdaptorName)
|
String |
getInactiveEventBuilderConfigurationContent(String filename)
|
void |
setStatisticsEnabled(String eventBuilderName,
boolean statisticsEnabled)
|
void |
setTraceEnabled(String eventBuilderName,
boolean traceEnabled)
|
void |
undeployActiveEventBuilderConfiguration(String eventBuilderName)
|
void |
undeployInactiveEventBuilderConfiguration(String filename)
|
| Methods inherited from class org.wso2.carbon.core.AbstractAdmin |
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventBuilderAdminService
public EventBuilderAdminService()
getAllActiveEventBuilderConfigurations
public EventBuilderConfigurationInfoDto[] getAllActiveEventBuilderConfigurations()
throws org.apache.axis2.AxisFault
- Returns:
-
- Throws:
org.apache.axis2.AxisFault
getAllStreamSpecificActiveEventBuilderConfiguration
public EventBuilderConfigurationDto[] getAllStreamSpecificActiveEventBuilderConfiguration(String streamId)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
getAllInactiveEventBuilderConfigurations
public EventBuilderConfigurationFileDto[] getAllInactiveEventBuilderConfigurations()
- Returns:
getActiveEventBuilderConfiguration
public EventBuilderConfigurationDto getActiveEventBuilderConfiguration(String eventBuilderName)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
getInactiveEventBuilderConfigurationContent
public String getInactiveEventBuilderConfigurationContent(String filename)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
getActiveEventBuilderConfigurationContent
public String getActiveEventBuilderConfigurationContent(String eventBuilderName)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
getEventBuilderMessageProperties
public EventBuilderMessagePropertyDto[] getEventBuilderMessageProperties(String inputEventAdaptorName)
deployEventBuilderConfiguration
public void deployEventBuilderConfiguration(String eventBuilderConfigXml)
throws org.apache.axis2.AxisFault
- Deploys an event builder by parsing the passed in XML configuration
- Parameters:
eventBuilderConfigXml - event builder configuration xml syntax as a string
- Throws:
org.apache.axis2.AxisFault
deployWso2EventBuilderConfiguration
public void deployWso2EventBuilderConfiguration(String eventBuilderName,
String streamNameWithVersion,
String eventAdaptorName,
String eventAdaptorType,
EventInputPropertyConfigurationDto[] metaData,
EventInputPropertyConfigurationDto[] correlationData,
EventInputPropertyConfigurationDto[] payloadData,
PropertyDto[] inputPropertyConfiguration,
boolean mappingEnabled)
throws org.apache.axis2.AxisFault
- Deploys an event builder with mapping type of Wso2Event
- Parameters:
eventBuilderName - name of the event builderstreamNameWithVersion - the stream name with version for the stream exported from the event buildereventAdaptorName - the name of the input event adaptoreventAdaptorType - the type of the event adaptor (e.g. wso2event, jms, http)metaData - meta data attributescorrelationData - correlation data attributespayloadData - payload data attributesinputPropertyConfiguration - input message propertiesmappingEnabled - is custom mapping enabled
- Throws:
org.apache.axis2.AxisFault
deployXmlEventBuilderConfiguration
public void deployXmlEventBuilderConfiguration(String eventBuilderName,
String streamNameWithVersion,
String eventAdaptorName,
String eventAdaptorType,
EventInputPropertyConfigurationDto[] xpathExpressions,
PropertyDto[] inputPropertyConfiguration,
PropertyDto[] xpathDefinitions,
String parentSelectorXpath,
boolean mappingEnabled)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
deployJsonEventBuilderConfiguration
public void deployJsonEventBuilderConfiguration(String eventBuilderName,
String streamNameWithVersion,
String eventAdaptorName,
String eventAdaptorType,
EventInputPropertyConfigurationDto[] jsonPathExpressions,
PropertyDto[] inputPropertyConfiguration,
boolean mappingEnabled)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
deployMapEventBuilderConfiguration
public void deployMapEventBuilderConfiguration(String eventBuilderName,
String streamNameWithVersion,
String eventAdaptorName,
String eventAdaptorType,
EventInputPropertyConfigurationDto[] mappingProperties,
PropertyDto[] inputPropertyConfiguration,
boolean mappingEnabled)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
deployTextEventBuilderConfiguration
public void deployTextEventBuilderConfiguration(String eventBuilderName,
String streamNameWithVersion,
String eventAdaptorName,
String eventAdaptorType,
EventInputPropertyConfigurationDto[] textMappingAttributes,
PropertyDto[] inputPropertyConfiguration,
boolean mappingEnabled)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
undeployActiveEventBuilderConfiguration
public void undeployActiveEventBuilderConfiguration(String eventBuilderName)
throws org.apache.axis2.AxisFault
- Parameters:
eventBuilderName - the name of the event builder to be undeployed
- Throws:
org.apache.axis2.AxisFault
undeployInactiveEventBuilderConfiguration
public void undeployInactiveEventBuilderConfiguration(String filename)
throws org.apache.axis2.AxisFault
- Parameters:
filename - filename of the event builder configuration file that needs to be undeployed. e.g. "wso2EventBuilder.xml"
- Throws:
org.apache.axis2.AxisFault
editActiveEventBuilderConfiguration
public void editActiveEventBuilderConfiguration(String originalEventBuilderName,
String eventBuilderConfigXml)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
editInactiveEventBuilderConfiguration
public void editInactiveEventBuilderConfiguration(String filename,
String eventBuilderConfigXml)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
deployDefaultEventReceiver
public void deployDefaultEventReceiver(String streamId)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
setTraceEnabled
public void setTraceEnabled(String eventBuilderName,
boolean traceEnabled)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
setStatisticsEnabled
public void setStatisticsEnabled(String eventBuilderName,
boolean statisticsEnabled)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
Copyright © 2015 WSO2. All rights reserved.