2.17.2: 2011-06-17

net.sf.basedb.core.signal
Class LocalSignalTransporter

java.lang.Object
  extended by net.sf.basedb.core.signal.AbstractSignalTransporter
      extended by net.sf.basedb.core.signal.LocalSignalTransporter
All Implemented Interfaces:
SignalTransporter

public class LocalSignalTransporter
extends AbstractSignalTransporter

A signal transporter implementation that can transport signals within the local virtual machine only. The corresponding receiver class is LocalSignalReceiver.

Version:
2.6
Author:
nicklas
Last modified
$Date: 2008-09-11 22:09:17 +0200 (Thu, 11 Sep 2008) $

Field Summary
private static Logger logger
          Log signals processing.
 
Constructor Summary
LocalSignalTransporter()
          Create a new signal transporter instance.
 
Method Summary
 void send(Signal signal)
          Send the signal to a local signal receiver.
 
Methods inherited from class net.sf.basedb.core.signal.AbstractSignalTransporter
generateSignalMessage, getGlobalSignalId, getHandlerId, getReceiverId, getSignalURI, getSupportedSignals, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final Logger logger
Log signals processing.

Constructor Detail

LocalSignalTransporter

public LocalSignalTransporter()
Create a new signal transporter instance.

Method Detail

send

public void send(Signal signal)
Send the signal to a local signal receiver. This method will call LocalSignalReceiver.getSignalReceiver(String) to find a registered signal receiver and then call LocalSignalReceiver.send(String, Signal). The signal is sent and processed by the signal handler in the current thread.

Parameters:
signal - The signal to send, must not be null

2.17.2: 2011-06-17