Package | Description |
---|---|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
Modifier and Type | Class and Description |
---|---|
static class |
ClassFileLocator.AgentBased.ClassLoadingDelegate.Default
A default implementation of a class loading delegate.
|
static class |
ClassFileLocator.AgentBased.ClassLoadingDelegate.Explicit
A class loading delegate that allows the location of explicitly registered classes that cannot
be located by a class loader directly.
|
static class |
ClassFileLocator.AgentBased.ClassLoadingDelegate.ForDelegatingClassLoader
A class loading delegate that accounts for a
sun.reflect.DelegatingClassLoader which
cannot load its own classes by name. |
Modifier and Type | Method and Description |
---|---|
static ClassFileLocator.AgentBased.ClassLoadingDelegate |
ClassFileLocator.AgentBased.ClassLoadingDelegate.Explicit.of(Class<?> type)
Creates an explicit class loading delegate for the given type.
|
static ClassFileLocator.AgentBased.ClassLoadingDelegate |
ClassFileLocator.AgentBased.ClassLoadingDelegate.Default.of(ClassLoader classLoader)
Creates a class loading delegate for the given class loader.
|
static ClassFileLocator.AgentBased.ClassLoadingDelegate |
ClassFileLocator.AgentBased.ClassLoadingDelegate.Default.of(ClassLoader classLoader,
AccessControlContext accessControlContext)
Creates a class loading delegate for the given class loader.
|
Constructor and Description |
---|
AgentBased(Instrumentation instrumentation,
ClassFileLocator.AgentBased.ClassLoadingDelegate classLoadingDelegate)
Creates an agent-based class file locator.
|
Explicit(ClassFileLocator.AgentBased.ClassLoadingDelegate fallbackDelegate,
Collection<? extends Class<?>> types)
Creates a new class loading delegate with a possibility of looking up explicitly
registered classes.
|
Copyright © 2014–2016. All rights reserved.