Class Context

java.lang.Object
com.coditory.quark.context.Context
All Implemented Interfaces:
Closeable, AutoCloseable

public final class Context extends Object implements Closeable
  • Method Details

    • scanPackage

      public static Context scanPackage(Class<?> type)
    • builder

      public static ContextBuilder builder()
    • get

      public <T> T get(Class<T> type)
    • getOrNull

      public <T> T getOrNull(Class<T> type)
    • get

      public <T> T get(Class<T> type, String name)
    • getOrNull

      public <T> T getOrNull(Class<T> type, String name)
    • contains

      public boolean contains(Class<?> type)
    • contains

      public boolean contains(String name)
    • contains

      public boolean contains(Class<?> type, String name)
    • getAll

      public <T> List<T> getAll(Class<T> type)
    • getAllOrEmpty

      public <T> List<T> getAllOrEmpty(Class<T> type)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable