Interface ServiceProvider

  • All Known Subinterfaces:
    DomainBuilder, DomainModel

    public interface ServiceProvider
    A provider for access to services.
    Since:
    2.0.0
    Author:
    Christian Beikov
    • Method Detail

      • getService

        <T> T getService​(Class<T> serviceClass)
        Returns the resolved service for the given type.
        Type Parameters:
        T - The service type
        Parameters:
        serviceClass - The service class
        Returns:
        the resolved service