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

    • create

      public Plugin create(Communicator communicator, String name, String[] args)
      Returns a new IceBT plug-in.
      Specified by:
      create in interface PluginFactory
      Parameters:
      communicator - The communicator for the plug-in.
      name - The name of the plug-in.
      args - The arguments that are specified in the plug-in's configuration.
      Returns:
      The new plug-in. null can be returned to indicate that a general error occurred. Alternatively, create can throw PluginInitializationException to provide more detailed information.