Class ContextAwareMessageDispatcherProvider<T extends MessageDispatcher>

java.lang.Object
org.mule.runtime.extension.api.soap.ContextAwareMessageDispatcherProvider<T>
All Implemented Interfaces:
org.mule.runtime.api.connection.ConnectionProvider<T>, MessageDispatcherProvider<T>

public abstract class ContextAwareMessageDispatcherProvider<T extends MessageDispatcher> extends Object implements MessageDispatcherProvider<T>
Since:
1.1
  • Constructor Details

    • ContextAwareMessageDispatcherProvider

      public ContextAwareMessageDispatcherProvider()
  • Method Details

    • connect

      public abstract T connect(DispatchingContext client)
      Parameters:
      client - a well initialized extensions client, ready to execute operations.
      Returns:
      a new MessageDispatcher that uses an ExtensionsClient.
    • connect

      public final T connect() throws org.mule.runtime.api.connection.ConnectionException
      This method should not be used, instead use connect(DispatchingContext).

      If an extension client is not required then only implements MessageDispatcherProvider.

      Specified by:
      connect in interface org.mule.runtime.api.connection.ConnectionProvider<T extends MessageDispatcher>
      Throws:
      org.mule.runtime.api.connection.ConnectionException