Interface ClassSetProvider


  • public interface ClassSetProvider
    Provide a set of classes.

    Modules that contain classes defining methods annotated with BasicFunction should provide this interface as service so that the ServiceLoader can find them. ScriptBasic registers the classes provided by the method provide() when it also registers the methods that are implemented in this module.

    • Method Detail

      • provide

        java.util.Set<java.lang.Class<?>> provide()
        Returns:
        the set of classes that are interesting for the caller.