Package io.quarkus.bootstrap.app
Interface RunningQuarkusApplication
-
- All Superinterfaces:
AutoCloseable
public interface RunningQuarkusApplication extends AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()ClassLoadergetClassLoader()Iterable<String>getConfigKeys()<T> Optional<T>getConfigValue(String key, Class<T> type)Objectinstance(Class<?> clazz, Annotation... qualifiers)Looks up an instance from the CDI container of the running application.
-
-
-
Method Detail
-
getClassLoader
ClassLoader getClassLoader()
-
close
void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
instance
Object instance(Class<?> clazz, Annotation... qualifiers)
Looks up an instance from the CDI container of the running application.- Parameters:
clazz- The classqualifiers- The qualifiers- Returns:
- The instance or null
-
-