Interface IPluginImpl

  • All Known Subinterfaces:
    ILdapPluginImpl

    public interface IPluginImpl
    This interface represents a plugin instance.
    Version:
    $Revision$, $Date$
    • Field Summary

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

      • getDescription

        java.lang.String getDescription()
        Gets the description for this plugin instance.

        Returns:
        The Description for this plugin instance.
      • getImplName

        java.lang.String getImplName()
        Returns the name of the plugin class.

        Returns:
        The name of the plugin class.
      • getInstanceName

        java.lang.String getInstanceName()
        Returns the name of the plugin instance.

        Returns:
        The name of the plugin instance. If none is set the name of the implementation will be returned.xxxx
      • init

        void init​(ISubsystem sys,
                  java.lang.String instanceName,
                  java.lang.String className,
                  IConfigStore config)
           throws EBaseException
        Initializes this plugin instance.
        Parameters:
        sys - parent subsystem
        instanceName - instance name of this plugin
        className - class name of this plugin
        config - configuration store
        Throws:
        EBaseException - failed to initialize
      • shutdown

        void shutdown()
        Shutdowns this plugin.
      • getConfigStore

        IConfigStore getConfigStore()
        Retrieves the configuration store.
        Returns:
        configuration store
      • getInstanceParams

        java.util.Vector<java.lang.String> getInstanceParams()
        Return configured parameters for a plugin instance.
        Returns:
        nvPairs A Vector of name/value pairs. Each name/value pair is constructed as a String in name=value format.
      • getConfigParams

        java.lang.String[] getConfigParams()
        Retrieves a list of configuration parameter names.
        Returns:
        a list of parameter names
      • getDefaultParams

        java.util.Vector<java.lang.String> getDefaultParams()
        Return default parameters for a plugin implementation.
        Returns:
        nvPairs A Vector of name/value pairs. Each name/value pair is constructed as a String in name=value.