edu.uci.isr.yancees.server.plugin.protocol.peerpublish
Class PeerPublishPluginFactory

java.lang.Object
  extended byedu.uci.isr.yancees.server.plugin.protocol.peerpublish.PeerPublishPluginFactory
All Implemented Interfaces:
PluginFactoryInterface, ProtocolPluginFactoryInterface

public class PeerPublishPluginFactory
extends java.lang.Object
implements ProtocolPluginFactoryInterface


Field Summary
static java.lang.String PROTOCOL_NAME
           
 
Constructor Summary
PeerPublishPluginFactory()
           
 
Method Summary
 ProtocolPluginInterface createNewInstance(SubscriberInterface si)
          creates a new instance of this plug-in, with the subscriber interface of the creator of this plug-in.
 java.lang.String[] getTags()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTOCOL_NAME

public static java.lang.String PROTOCOL_NAME
Constructor Detail

PeerPublishPluginFactory

public PeerPublishPluginFactory()
Method Detail

createNewInstance

public ProtocolPluginInterface createNewInstance(SubscriberInterface si)
                                          throws PluginFactoryException
creates a new instance of this plug-in, with the subscriber interface of the creator of this plug-in. The si here may be useful to use the regular notification interface of the subscriber.

Specified by:
createNewInstance in interface ProtocolPluginFactoryInterface
Parameters:
si - is the subscriber interface that may receive events from the new plugin.
Returns:
a reference to the plugin created
Throws:
PluginFactoryException

getTags

public java.lang.String[] getTags()
Specified by:
getTags in interface PluginFactoryInterface