Class PluginFactory

java.lang.Object
com.zeroc.IceBT.PluginFactory
All Implemented Interfaces:
PluginFactory

public class PluginFactory extends Object implements PluginFactory
Creates IceBT plug-ins.
  • Constructor Details

    • PluginFactory

      public PluginFactory()
  • Method Details

    • getPluginName

      public String getPluginName()
      Description copied from interface: PluginFactory
      Returns the default and preferred name for plug-ins created by this factory.
      Specified by:
      getPluginName in interface PluginFactory
      Returns:
      the name for plug-ins created by this factory
    • create

      public Plugin create(Communicator communicator, String name, String[] args)
      Description copied from interface: PluginFactory
      A plug-in factory function responsible for creating an Ice plug-in.
      Specified by:
      create in interface PluginFactory
      Parameters:
      communicator - the communicator in which the plug-in will be installed
      name - the name assigned to the plug-in
      args - additional arguments included in the plug-in's configuration
      Returns:
      a new plug-in object