Module org.update4j

Interface Service

All Superinterfaces:
Injectable
All Known Subinterfaces:
Delegate, Launcher, UpdateHandler
All Known Implementing Classes:
DefaultBootstrap, DefaultLauncher, DefaultUpdateHandler

public interface Service
extends Injectable
  • Method Summary

    Modifier and Type Method Description
    static <T extends Service>
    T
    loadService​(Class<T> type)  
    static <T extends Service>
    T
    loadService​(Class<T> type, String classname)  
    static <T extends Service>
    T
    loadService​(ClassLoader classLoader, Class<T> type)  
    static <T extends Service>
    T
    loadService​(ClassLoader classLoader, Class<T> type, String classname)  
    static <T extends Service>
    T
    loadService​(ModuleLayer layer, Class<T> type)  
    static <T extends Service>
    T
    loadService​(ModuleLayer layer, Class<T> type, String classname)  
    static <T extends Service>
    T
    loadService​(ModuleLayer layer, ClassLoader classLoader, Class<T> type)  
    static <T extends Service>
    T
    loadService​(ModuleLayer layer, ClassLoader classLoader, Class<T> type, String classname)  
    default long version()  
  • Method Details

    • version

      default long version()
    • loadService

      static <T extends Service> T loadService​(ModuleLayer layer, ClassLoader classLoader, Class<T> type, String classname)
    • loadService

      static <T extends Service> T loadService​(ModuleLayer layer, ClassLoader classLoader, Class<T> type)
    • loadService

      static <T extends Service> T loadService​(ModuleLayer layer, Class<T> type, String classname)
    • loadService

      static <T extends Service> T loadService​(ModuleLayer layer, Class<T> type)
    • loadService

      static <T extends Service> T loadService​(ClassLoader classLoader, Class<T> type, String classname)
    • loadService

      static <T extends Service> T loadService​(ClassLoader classLoader, Class<T> type)
    • loadService

      static <T extends Service> T loadService​(Class<T> type, String classname)
    • loadService

      static <T extends Service> T loadService​(Class<T> type)