Class MemoryClassPathElement
java.lang.Object
io.quarkus.bootstrap.classloading.AbstractClassPathElement
io.quarkus.bootstrap.classloading.MemoryClassPathElement
- All Implemented Interfaces:
ClassPathElement,Closeable,AutoCloseable
-
Field Summary
Fields inherited from interface io.quarkus.bootstrap.classloading.ClassPathElement
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tapply(Function<OpenPathTree, T> func) Processes the content of this classpath element and returns a result.voidclose()Returns a set of all known resources.getResource(String name) Loads a resource from the class path element, or null if it does not exist.getRoot()booleanChecks whether this is a runtime classpath elementvoidMethods inherited from class io.quarkus.bootstrap.classloading.AbstractClassPathElement
getManifest, readManifestMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.bootstrap.classloading.ClassPathElement
getDependencyKey, getResolvedDependency, getResources
-
Constructor Details
-
MemoryClassPathElement
-
-
Method Details
-
isRuntime
public boolean isRuntime()Description copied from interface:ClassPathElementChecks whether this is a runtime classpath element- Returns:
- true in case this is a runtime classpath element, otherwise - false
-
reset
-
getRoot
- Returns:
- The element root, or null if not applicable
-
apply
Description copied from interface:ClassPathElementProcesses the content of this classpath element and returns a result.- Type Parameters:
T- result type- Parameters:
func- content processing function- Returns:
- processing result
-
getResource
Description copied from interface:ClassPathElementLoads a resource from the class path element, or null if it does not exist.- Parameters:
name- The resource to load- Returns:
- An representation of the class path resource if it exists
-
getProvidedResources
Description copied from interface:ClassPathElementReturns a set of all known resources.- Returns:
- A set representing all known resources
-
getProtectionDomain
- Returns:
- The protection domain that should be used to define classes from this element
-
close
- Throws:
IOException
-