コード例 #1
0
 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();
   }
 }
コード例 #2
0
 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();
   }
 }
コード例 #3
0
 public String[] getAllInputAdapterTypes() throws RemoteException {
   try {
     return eventReceiverAdminServiceStub.getAllInputAdapterTypes();
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
コード例 #4
0
 public void removeInactiveEventReceiverConfiguration(String fileName) throws RemoteException {
   try {
     eventReceiverAdminServiceStub.undeployInactiveEventReceiverConfiguration(fileName);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
コード例 #5
0
 public EventReceiverConfigurationDto getActiveEventReceiverConfiguration(String eventReceiverName)
     throws RemoteException {
   try {
     return eventReceiverAdminServiceStub.getActiveEventReceiverConfiguration(eventReceiverName);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
コード例 #6
0
 public void setStatisticsEnabled(String eventReceiverConfiguration, boolean flag)
     throws RemoteException {
   try {
     eventReceiverAdminServiceStub.setStatisticsEnabled(eventReceiverConfiguration, flag);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
コード例 #7
0
 public void addEventReceiverConfiguration(String eventReceiverConfigurationXml)
     throws RemoteException {
   try {
     eventReceiverAdminServiceStub.deployEventReceiverConfiguration(eventReceiverConfigurationXml);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
コード例 #8
0
 public EventReceiverConfigurationInfoDto[] getAllStreamSpecificActiveEventReceiverConfigurations(
     String streamId) throws RemoteException {
   try {
     return eventReceiverAdminServiceStub.getAllStreamSpecificActiveEventReceiverConfigurations(
         streamId);
   } catch (RemoteException e) {
     log.error("RemoteException", e);
     throw new RemoteException();
   }
 }
コード例 #9
0
 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);
   }
 }
コード例 #10
0
 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();
   }
 }
コード例 #11
0
 public ServiceClient _getServiceClient() {
   return eventReceiverAdminServiceStub._getServiceClient();
 }