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.UsingInstrumentationA class injector using a  Instrumentationto append to either the boot classpath
 or the system class path. | 
| static class  | ClassInjector.UsingReflectionA class injector that uses reflective method calls. | 
| Modifier and Type | Field and Description | 
|---|---|
| static boolean | DEFAULT_FORBID_EXISTINGDetermines the default behavior for type injections when a type is already loaded. | 
| static ProtectionDomain | DEFAULT_PROTECTION_DOMAINA 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.static final boolean DEFAULT_FORBID_EXISTING
Map<TypeDescription,Class<?>> inject(Map<? extends TypeDescription,byte[]> types)
types - The types to load via injection.Copyright © 2014–2016. All rights reserved.