public class AvalonNotificationPluginManager
extends java.lang.Object
implements java.lang.Runnable
Property Keyword | Datatype | Default | Description |
---|---|---|---|
AvalonNotificationPluginManager.UseThreads | Boolean | no | When this switch is true the plugin manager creates for each notification
a new thread for the plugin, otherwise the notification of the plugin is in the same thread. This value is an application property. |
AvalonNotificationPluginManager.PollTime | Long | 500 | The time in milliseconds between two polling whether the output device written
from Athos Runtime System contains events. This value is an application property. |
Constructor and Description |
---|
AvalonNotificationPluginManager(AoFactoryIF aofObj,
java.lang.String pluginClassName,
java.util.Properties properties)
The constructor of the class.
|
AvalonNotificationPluginManager(AoFactoryIF aofObj,
java.lang.String pluginClassName,
java.util.Properties properties,
boolean useLogger)
The constructor of the class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
logInfo(java.lang.String msg)
Log a message.
|
protected void |
logWarning(java.lang.String msg)
Log a warning.
|
void |
run()
The run method.
|
public AvalonNotificationPluginManager(AoFactoryIF aofObj, java.lang.String pluginClassName, java.util.Properties properties, boolean useLogger)
aofObj
- the factory object.pluginClassName
- the name plugin class.properties
- with parameteruseLogger
- flag for using logger.public AvalonNotificationPluginManager(AoFactoryIF aofObj, java.lang.String pluginClassName, java.util.Properties properties)
aofObj
- the factory object.pluginClassName
- the name plugin class.properties
- with parameterprotected void logWarning(java.lang.String msg)
msg
- the warning.protected void logInfo(java.lang.String msg)
msg
- the message.public void run()
run
in interface java.lang.Runnable