edu.uci.isr.yancees.plugin.notification
Class NotificationPluginFactory

java.lang.Object
  extended by edu.uci.isr.yancees.plugin.notification.NotificationPluginFactory
All Implemented Interfaces:
MOPluginFactoryInterface, PluginFactoryInterface

public class NotificationPluginFactory
extends java.lang.Object
implements MOPluginFactoryInterface

Title: Yancees Notification Server

Description: Yet ANother Configurable Extensible Event Service

Copyright: Copyright (c) 2003

Company: School of Information and Computer Science - University of California, Irvine

Version:
1.0
Author:
Roberto Silveira Silva Filho

Constructor Summary
NotificationPluginFactory()
           
 
Method Summary
 MOPluginInterface createNewInstance(SubscriberInterface si, SubscriptionInterface sub, org.w3c.dom.Node subTree)
          Creates a plug-in instance that processes the expression provided The default creation mode is "unshared": meaning a new instance is created.
 MOSharedPluginInterface createNewSharedInstance(SubscriberInterface si, SubscriptionInterface sub, org.w3c.dom.Node subTree)
          Creates shared plug-in instance that processes the expression provided This instance is shared.
 java.lang.String[] getTags()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationPluginFactory

public NotificationPluginFactory()
Method Detail

getTags

public java.lang.String[] getTags()
Specified by:
getTags in interface MOPluginFactoryInterface
Specified by:
getTags in interface PluginFactoryInterface
Returns:
the XML tags that the current factory is able to processs.

createNewInstance

public MOPluginInterface createNewInstance(SubscriberInterface si,
                                           SubscriptionInterface sub,
                                           org.w3c.dom.Node subTree)
                                    throws PluginFactoryException
Description copied from interface: MOPluginFactoryInterface
Creates a plug-in instance that processes the expression provided The default creation mode is "unshared": meaning a new instance is created.

Specified by:
createNewInstance in interface MOPluginFactoryInterface
Parameters:
si - TODO
sub - TODO
Returns:
a reference to the plugin created
Throws:
PluginFactoryException

createNewSharedInstance

public MOSharedPluginInterface createNewSharedInstance(SubscriberInterface si,
                                                       SubscriptionInterface sub,
                                                       org.w3c.dom.Node subTree)
                                                throws PluginFactoryException
Description copied from interface: MOPluginFactoryInterface
Creates shared plug-in instance that processes the expression provided This instance is shared. Meaning that the same object is returned over and over

Specified by:
createNewSharedInstance in interface MOPluginFactoryInterface
Parameters:
si - TODO
sub - TODO
Returns:
a reference to the plugin created
Throws:
PluginFactoryException