public EventSetDescriptor[] getEventSetDescriptors() { try { EventSetDescriptor eventRequestComplete = new EventSetDescriptor( IntegrationObject.CountCourtDateDelete_Access.class, "requestComplete", com.ibm.HostPublisher.IntegrationObject.HPubReqCompleteListener.class, "hPubReqComplete"); eventRequestComplete.setDisplayName("Request has completed Event."); eventRequestComplete.setShortDescription( "This event is sent to notify all listeners that the request has " + "completed and data is available for retrieval."); EventSetDescriptor[] arrayOfESDs = {eventRequestComplete}; return arrayOfESDs; } catch (IntrospectionException e) { System.out.println(e); return null; } }
// ***** ***** public EventSetDescriptor[] getEventSetDescriptors() { try { EventSetDescriptor eventHPubReqComplete = new EventSetDescriptor( com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "requestComplete", com.ibm.HostPublisher.IntegrationObject.HPubReqCompleteListener.class, "hPubReqComplete"); String reqCompleteName = res.getString("reqCompleteName"); eventHPubReqComplete.setDisplayName(reqCompleteName); String reqCompleteDesc = res.getString("reqCompleteDesc"); eventHPubReqComplete.setShortDescription(reqCompleteDesc); EventSetDescriptor[] arrayOfESDs = {eventHPubReqComplete}; return arrayOfESDs; } catch (IntrospectionException e) { System.out.println(e); return null; } }