Class ExtensionSignalTransporter

java.lang.Object
net.sf.basedb.core.signal.AbstractSignalTransporter
net.sf.basedb.core.signal.ExtensionSignalTransporter
All Implemented Interfaces:
SignalTransporter

public class ExtensionSignalTransporter extends AbstractSignalTransporter
A signal transporter implementation send all signals to extensions extending the "net.sf.basedb.core.signal" extension point. The initialization parameter for the transporter must be a valid URI. The URI is set as "signal-uri" attribute in the ClientContext.
Since:
3.3
Author:
nicklas
  • Field Details

    • logger

      private static final Logger logger
    • context

      private ClientContext context
    • extensionPointId

      private String extensionPointId
  • Constructor Details

    • ExtensionSignalTransporter

      public ExtensionSignalTransporter()
  • Method Details

    • send

      public void send(Signal signal)
      Description copied from interface: SignalTransporter
      Send a signal.
      Parameters:
      signal - The signal to send, must not be null
    • setContext

      public void setContext(ClientContext context)
    • setExtensionPointId

      public void setExtensionPointId(String extensionPointId)