Package org.eclipse.jetty.util
Class ModuleLocation
java.lang.Object
org.eclipse.jetty.util.ModuleLocation
Equivalent of ...
Module module = clazz.getModule(); if (module != null) { Configuration configuration = module.getLayer().configuration(); OptionalIn Jetty 10, this entire class can be moved to direct calls to java.lang.Module in TypeUtil.getModuleLocation()resolvedModule = configuration.findModule(module.getName()); if (resolvedModule.isPresent()) { ModuleReference moduleReference = resolvedModule.get().reference(); Optional location = moduleReference.location(); if (location.isPresent()) { return location.get(); } } } return null;
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Class
<?> private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private static final Logger
-
Constructor Summary
Constructors -
Method Summary