Class ServiceHandle<T>


  • public class ServiceHandle<T>
    extends Object
    a service handler to enable static access to service instances
    • Constructor Detail

      • ServiceHandle

        public ServiceHandle​(@NotNull
                             @NotNull Class<T> type)
        Parameters:
        type - the concrete service type instance
    • Method Detail

      • getService

        @NotNull
        public T getService()