Interface JobClassLoaderFactory

All Superinterfaces:
Serializable

public interface JobClassLoaderFactory extends Serializable
An interface that can be implemented to provide custom class loader for Jet job.

The classloader factory must be serializable: it is set in the config and sent to members in a serialized form. The returned ClassLoader doesn't have to be serializable.

It is useful in custom class-loading environments, for example in OSGi.

Since:
Jet 3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the class loader instance.
  • Method Details

    • getJobClassLoader

      @Nonnull ClassLoader getJobClassLoader()
      Return the class loader instance.