Class ClientSideElementDependenciesManager

java.lang.Object
org.ametys.core.ui.ClientSideElementDependenciesManager

Dependencies manager, able to compute the full chain of dependencies.
  • Field Details

  • Constructor Details

  • Method Details

    • register

      public void register(String extensionPoint, String extensionId)
      Register a new dependency
      Parameters:
      extensionPoint - The dependency extension point
      extensionId - The dependency extension
    • register

      public void register(ClientSideElement element)
      Register a new dependency to a client side element
      Parameters:
      element - The client side element
    • computeDependencies

      Compute the chain of dependencies
      Returns:
      The list of dynamic dependencies calculated from the registered dependencies.
      Throws:
      ServiceException - If an error occurs with the list of ExtensionPoints