Interface ModuleSystem<CL extends ClassLoader>

    • Method Detail

      • initialize

        void initialize​(String args)
      • destroyLoader

        void destroyLoader​(CL helperLoader)
      • loadHelperAdapter

        Class<?> loadHelperAdapter​(CL helperLoader,
                                   String helperAdapterName,
                                   byte[] helperBytes)
        dynamically load and return a generated helper adapter classes using a custom classloader derived from the trigger class's loader
        Parameters:
        helperLoader - the class loader of the trigger class which has been matched with this helper class's rule
        helperAdapterName - the name of the helper adapter class to be loaded
        helperBytes - the byte array defining the class
        Returns:
        the new helper class