Package net.sf.basedb.core.signal
Class ExtensionSignalTransporter
java.lang.Object
net.sf.basedb.core.signal.AbstractSignalTransporter
net.sf.basedb.core.signal.ExtensionSignalTransporter
- All Implemented Interfaces:
SignalTransporter
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
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate ClientContext
private String
private static final Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Send a signal.void
setContext
(ClientContext context) void
setExtensionPointId
(String extensionPointId) Methods inherited from class net.sf.basedb.core.signal.AbstractSignalTransporter
generateSignalMessage, getGlobalSignalId, getHandlerId, getReceiverId, getSignalURI, getSupportedSignals, init
-
Field Details
-
logger
-
context
-
extensionPointId
-
-
Constructor Details
-
ExtensionSignalTransporter
public ExtensionSignalTransporter()
-
-
Method Details
-
send
Description copied from interface:SignalTransporter
Send a signal.- Parameters:
signal
- The signal to send, must not be null
-
setContext
-
setExtensionPointId
-