Package com.zeroc.Ice

Interface PluginFactory

All Known Implementing Classes:
PluginFactory

public interface PluginFactory
Applications implement this interface to provide a plug-in factory to the Ice runtime.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Communicator communicator, String name, String[] args)
    A plug-in factory function responsible for creating an Ice plug-in.
    Returns the default and preferred name for plug-ins created by this factory.
  • Method Details

    • getPluginName

      String getPluginName()
      Returns the default and preferred name for plug-ins created by this factory.
      Returns:
      the name for plug-ins created by this factory
    • create

      Plugin create(Communicator communicator, String name, String[] args)
      A plug-in factory function responsible for creating an Ice plug-in.
      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