public interface ClassInjector
ClassLoader without
 requiring the class loader to being able to explicitly look up these classes.| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
ClassInjector.UsingInstrumentation
A class injector using a  
Instrumentation to append to either the boot classpath
 or the system class path. | 
static class  | 
ClassInjector.UsingReflection
A class injector that uses reflective method calls. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static ProtectionDomain | 
DEFAULT_PROTECTION_DOMAIN
A convenience reference to the default protection domain which is  
null. | 
| Modifier and Type | Method and Description | 
|---|---|
Map<TypeDescription,Class<?>> | 
inject(Map<? extends TypeDescription,byte[]> types)
Injects the given types into the represented class loader. 
 | 
static final ProtectionDomain DEFAULT_PROTECTION_DOMAIN
null.Map<TypeDescription,Class<?>> inject(Map<? extends TypeDescription,byte[]> types)
types - The types to load via injection.Copyright © 2014–2015. All rights reserved.