protected static interface ClassInjector.UsingJna.Dispatcher
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | ClassInjector.UsingJna.Dispatcher.CreationActionAn action for creating a JNA dispatcher. | 
| static class  | ClassInjector.UsingJna.Dispatcher.EnabledAn enabled dispatcher for JNA-based class injection. | 
| static interface  | ClassInjector.UsingJna.Dispatcher.JvmA JNA dispatcher for the JVM's JVM_DefineClass method. | 
| static class  | ClassInjector.UsingJna.Dispatcher.UnavailableAn unavailable dispatcher for JNA-based class injection. | 
| static class  | ClassInjector.UsingJna.Dispatcher.Windows32BitFunctionMapperA mapper for 32-bit Windows functions where names are defined with different convention. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<?> | defineClass(ClassLoader classLoader,
           String name,
           byte[] binaryRepresentation,
           ProtectionDomain protectionDomain)Defines a class. | 
| boolean | isAvailable()Checks if this dispatcher is available for use. | 
boolean isAvailable()
true if this dispatcher is available for use.Class<?> defineClass(@MaybeNull ClassLoader classLoader, String name, byte[] binaryRepresentation, @MaybeNull ProtectionDomain protectionDomain)
classLoader - The class loader or null if a class should be injected into the bootstrap loader.name - The class's name.binaryRepresentation - The class's class file.protectionDomain - The protection domain to use or null if no protection domain should be used.Copyright © 2014–2024. All rights reserved.