protected static interface ByteArrayClassLoader.PackageLookupStrategy
Modifier and Type | Interface and Description |
---|---|
static class |
ByteArrayClassLoader.PackageLookupStrategy.CreationAction
A creation action for a package lookup strategy.
|
static class |
ByteArrayClassLoader.PackageLookupStrategy.ForJava9CapableVm
A package lookup strategy for Java 9 or newer.
|
static class |
ByteArrayClassLoader.PackageLookupStrategy.ForLegacyVm
A package lookup strategy for a VM prior to Java 9.
|
Modifier and Type | Method and Description |
---|---|
Package |
apply(ByteArrayClassLoader classLoader,
String name)
Returns a package for a given byte array class loader and a name.
|
Package apply(ByteArrayClassLoader classLoader, String name)
classLoader
- The class loader to locate a package for.name
- The name of the package.null
if no such package exists.Copyright © 2014–2019. All rights reserved.