Class PluginFactory

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

public class PluginFactory extends Object implements PluginFactory
Plug-in factories must implement this interface.
  • Constructor Details

    • PluginFactory

      public PluginFactory()
  • Method Details

    • create

      public Plugin create(Communicator communicator, String name, String[] args)
      Returns a new 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.