Interface IOutputConnectorManager

  • All Known Implementing Classes:
    OutputConnectorManager

    public interface IOutputConnectorManager
    This interface describes a manager for the registry of output connectors. Use this to register or remove a connector from the list of available choices.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _rcsid  
    • Method Detail

      • registerConnector

        void registerConnector​(java.lang.String description,
                               java.lang.String className)
                        throws ManifoldCFException
        Register a new connector. The connector's install method will also be called.
        Parameters:
        description - is the description to use in the UI.
        className - is the class name.
        Throws:
        ManifoldCFException
      • unregisterConnector

        void unregisterConnector​(java.lang.String className)
                          throws ManifoldCFException
        Unregister a connector. The connector's deinstall method will also be called.
        Parameters:
        className - is the connector class to unregister.
        Throws:
        ManifoldCFException
      • removeConnector

        void removeConnector​(java.lang.String className)
                      throws ManifoldCFException
        Remove a connector. Use this method when the connector doesn't seem to be in the classpath, so deregistration cannot occur.
        Parameters:
        className - is the connector class to remove.
        Throws:
        ManifoldCFException
      • getDescription

        java.lang.String getDescription​(java.lang.String className)
                                 throws ManifoldCFException
        Get a description given a class name.
        Parameters:
        className - is the class name.
        Returns:
        the description, or null if the class is not registered.
        Throws:
        ManifoldCFException
      • isInstalled

        boolean isInstalled​(java.lang.String className)
                     throws ManifoldCFException
        Check if a particular connector is installed or not.
        Parameters:
        className - is the class name of the connector.
        Returns:
        true if installed, false otherwise.
        Throws:
        ManifoldCFException