Class ContextTool


  • public class ContextTool
    extends Object
    Utility methods to access the Application context from inside the Automation
    Since:
    8.2.1
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • ContextTool

        public ContextTool()
    • Method Detail

      • getBean

        public Object getBean​(String id)
        Gets a specific bean instance
        Parameters:
        id - identifier of the bean
        Returns:
        the instance
      • getBeanIds

        public List<String> getBeanIds()
        Gets the collection of all the identifiers in the context
        Returns:
        list of bean identifiers