public void addXmlEventReceiverConfiguration(
     String eventReceiverName,
     String streamNameWithVersion,
     String eventAdapterType,
     String parentXpath,
     EventMappingPropertyDto[] namespaces,
     EventMappingPropertyDto[] inputMappings,
     BasicInputAdapterPropertyDto[] inputPropertyConfiguration,
     boolean mappingEnabled)
     throws RemoteException {
   try {
     eventReceiverAdminServiceStub.deployXmlEventReceiverConfiguration(
         eventReceiverName,
         streamNameWithVersion,
         eventAdapterType,
         parentXpath,
         namespaces,
         inputMappings,
         inputPropertyConfiguration,
         mappingEnabled);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
 public void addWso2EventReceiverConfiguration(
     String eventReceiverName,
     String streamNameWithVersion,
     String eventAdapterType,
     EventMappingPropertyDto[] metaData,
     EventMappingPropertyDto[] correlationData,
     EventMappingPropertyDto[] payloadData,
     BasicInputAdapterPropertyDto[] inputPropertyConfiguration,
     boolean mappingEnabled,
     String fromStreamNameWithVersion)
     throws RemoteException {
   try {
     eventReceiverAdminServiceStub.deployWso2EventReceiverConfiguration(
         eventReceiverName,
         streamNameWithVersion,
         eventAdapterType,
         metaData,
         correlationData,
         payloadData,
         inputPropertyConfiguration,
         mappingEnabled,
         fromStreamNameWithVersion);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
 public String[] getAllInputAdapterTypes() throws RemoteException {
   try {
     return eventReceiverAdminServiceStub.getAllInputAdapterTypes();
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
 public void removeInactiveEventReceiverConfiguration(String fileName) throws RemoteException {
   try {
     eventReceiverAdminServiceStub.undeployInactiveEventReceiverConfiguration(fileName);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
 public EventReceiverConfigurationDto getActiveEventReceiverConfiguration(String eventReceiverName)
     throws RemoteException {
   try {
     return eventReceiverAdminServiceStub.getActiveEventReceiverConfiguration(eventReceiverName);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
 public void setStatisticsEnabled(String eventReceiverConfiguration, boolean flag)
     throws RemoteException {
   try {
     eventReceiverAdminServiceStub.setStatisticsEnabled(eventReceiverConfiguration, flag);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
 public void addEventReceiverConfiguration(String eventReceiverConfigurationXml)
     throws RemoteException {
   try {
     eventReceiverAdminServiceStub.deployEventReceiverConfiguration(eventReceiverConfigurationXml);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
 public EventReceiverConfigurationInfoDto[] getAllStreamSpecificActiveEventReceiverConfigurations(
     String streamId) throws RemoteException {
   try {
     return eventReceiverAdminServiceStub.getAllStreamSpecificActiveEventReceiverConfigurations(
         streamId);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
 public int getEventReceiverCount() throws RemoteException {
   try {
     EventReceiverConfigurationFileDto[] configs =
         eventReceiverAdminServiceStub.getAllInactiveEventReceiverConfigurations();
     if (configs == null) {
       return getActiveEventReceiverCount();
     } else {
       return configs.length + getActiveEventReceiverCount();
     }
   } catch (RemoteException e) {
     throw new RemoteException("RemoteException", e);
   }
 }
 public boolean addJsonEventReceiverConfiguration(
     String eventRecieverName,
     String streamNameWithVersion,
     String eventAdaptorType,
     EventMappingPropertyDto[] inputMappings,
     BasicInputAdapterPropertyDto[] inputPrortyConfiguration,
     boolean mappingEnabled)
     throws RemoteException {
   try {
     return eventReceiverAdminServiceStub.deployJsonEventReceiverConfiguration(
         eventRecieverName,
         streamNameWithVersion,
         eventAdaptorType,
         inputMappings,
         inputPrortyConfiguration,
         mappingEnabled);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
 public ServiceClient _getServiceClient() {
   return eventReceiverAdminServiceStub._getServiceClient();
 }