Class GraalJSContextFactory


  • public class GraalJSContextFactory
    extends Object
    Factory for the js Context.
    • Constructor Detail

      • GraalJSContextFactory

        public GraalJSContextFactory()
    • Method Detail

      • getInstance

        public static org.graalvm.polyglot.Context getInstance()
        Gets the singleton instance of the Context.

        This may need to be closed to release resources if no longer needed.

        Returns:
        the Context