edu.uci.isr.yancees.plugin
Interface MOPluginFactoryInterface

All Superinterfaces:
PluginFactoryInterface
All Known Implementing Classes:
AndPluginFactory, ElvinPluginFactory, FilterPluginFactory, GenericPluginFactory, MobilityProtocolPluginFactory, MOPollProtocolPluginFactory, NotificationPluginFactory, OrPluginFactory, PullPluginFactory, PushPluginFactory, RequirePluginFactory, RulePluginFactory, SequencePluginFactory, SienaPluginFactory, SubscriptionPluginFactory, ThenPluginFactory

public interface MOPluginFactoryInterface
extends PluginFactoryInterface

This is the interface of the plug-ins of the core of the system


Method Summary
 MOPluginInterface 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.
 MOSharedPluginInterface createNewSharedInstance(org.w3c.dom.Node subTree)
          Creates shared plug-in instance that processes the expression provided This instance is shared.
 java.lang.String[] getTags()
           
 

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 MOPluginInterface createNewInstance(org.w3c.dom.Node subTree)
                                    throws PluginFactoryException
Creates a plug-in instance that processes the expression provided The default creation mode is unshared: a new instance is created.

Returns:
a reference to the plugin created
Throws:
an - exception in case the creation was not successful
PluginFactoryException

createNewSharedInstance

public MOSharedPluginInterface createNewSharedInstance(org.w3c.dom.Node subTree)
                                                throws PluginFactoryException
Creates shared plug-in instance that processes the expression provided This instance is shared. Meaning that the same object is returned over and over

Returns:
a reference to the plugin created
Throws:
an - exception in case the creation was not successful
PluginFactoryException