Module org.jcommon

Interface IPlugger

    • Method Detail

      • getExensionPoint

        Object getExensionPoint​(String key)
        Return the extension point referenced by the given key. If the key does not patch a plugin, null is returned.
        Parameters:
        key - the key of the extension point.
        Returns:
        the extension point.
      • getExtensionPointKeys

        String[] getExtensionPointKeys()
        Return all the keys identifying extension points.
        Returns:
        an array of String representing the key referencing extension points.
      • addExtensionPoint

        boolean addExtensionPoint​(String key,
                                  Object extensionPoint)
        Add a new extension point to the plugger. The extension point is assigned to the key given. If the key is already affected to another extension point, the new extension point is not added.
        Parameters:
        key - the key of the extension point to add
        extensionPoint - the extension point to add
        Returns:
        true if the extension point is added, false otherwise