Class AsyncCapableServiceImpl

java.lang.Object
org.kuali.rice.ksb.messaging.serviceproxies.AsyncCapableServiceImpl
All Implemented Interfaces:
AsyncCapableService

public class AsyncCapableServiceImpl extends Object implements AsyncCapableService
  • Constructor Details

    • AsyncCapableServiceImpl

      public AsyncCapableServiceImpl()
  • Method Details

    • executeCall

      public void executeCall(QName qname, String applicationId, String value1, String value2, CallMetadata callMetadata, Runnable synchronousCall)
      Executes a call. If messaging is on the call will be executed via the ksb messaging framework using value1, value2, and the callMetadata. If messaging is off then the call will be executed immediately by invoking the synchronousCall. It will NOT use the ksb messaging framework. If messaging is on and messaging delivery synchronous is off then the messaging will be persisted and executed asynchronously after the current database transaction is committed. It will use the ksb messaging framework using value1, value2, and the callMetadata. If messaging is on and messaging delivery synchronous is on then the messaging will be persisted and executed immediately and synchronously. It will use the ksb messaging framework using value1, value2, and the callMetadata.
      Specified by:
      executeCall in interface AsyncCapableService
    • getServiceBus

      public ServiceBus getServiceBus()
    • setServiceBus

      public void setServiceBus(ServiceBus serviceBus)
    • getMessageQueueService

      public MessageQueueService getMessageQueueService()
    • setMessageQueueService

      public void setMessageQueueService(MessageQueueService messageQueueService)
    • getConfigurationService

      public ConfigurationService getConfigurationService()
    • setConfigurationService

      public void setConfigurationService(ConfigurationService configurationService)