edu.uci.isr.yancees.server.plugin.subscription.correlation
Class ThenPluginFactory

java.lang.Object
  extended byedu.uci.isr.yancees.server.plugin.subscription.correlation.ThenPluginFactory
All Implemented Interfaces:
PluginFactoryInterface

public class ThenPluginFactory
extends java.lang.Object
implements PluginFactoryInterface


Constructor Summary
ThenPluginFactory()
           
 
Method Summary
 PluginInterface createNewInstance(org.w3c.dom.Node subTree)
          Creates a plug-in instance that processes the expression provided The default creation mode is unshared: a new instance is created.
 SharedPluginInterface createNewSharedInstance(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

ThenPluginFactory

public ThenPluginFactory()
Method Detail

getTags

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

createNewInstance

public PluginInterface createNewInstance(org.w3c.dom.Node subTree)
                                  throws PluginFactoryException
Description copied from interface: PluginFactoryInterface
Creates a plug-in instance that processes the expression provided The default creation mode is unshared: a new instance is created.

Specified by:
createNewInstance in interface PluginFactoryInterface
Returns:
a reference to the plugin created
Throws:
PluginFactoryException

createNewSharedInstance

public SharedPluginInterface createNewSharedInstance(org.w3c.dom.Node subTree)
                                              throws PluginFactoryException
Description copied from interface: PluginFactoryInterface
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 PluginFactoryInterface
Returns:
a reference to the plugin created
Throws:
PluginFactoryException