Interface ServiceFactory<ServiceT extends Service,​ServiceOptionsT extends ServiceOptions>

  • Type Parameters:
    ServiceT - the service subclass
    ServiceOptionsT - the ServiceOptions subclass corresponding to the service

    public interface ServiceFactory<ServiceT extends Service,​ServiceOptionsT extends ServiceOptions>
    A base interface for all service factories.

    Implementation must provide a public no-arg constructor. Loading of a factory implementation is done via ServiceLoader.