Package io.github.toolfactory.jvm
Class DefaultDriver
java.lang.Object
io.github.toolfactory.jvm.DriverAbst
io.github.toolfactory.jvm.DefaultDriver
- All Implemented Interfaces:
Driver
,java.io.Closeable
,java.lang.AutoCloseable
- Direct Known Subclasses:
DynamicDriver
,HybridDriver
,NativeDriver
public class DefaultDriver extends DriverAbst
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.toolfactory.jvm.Driver
Driver.Factory, Driver.InitializeException, Driver.InstantiateException
-
Constructor Summary
Constructors Constructor Description DefaultDriver()
-
Method Summary
Methods inherited from class io.github.toolfactory.jvm.DriverAbst
allocateInstance, close, defineHookClass, functionsToMap, getAccessibleSetter, getAllocateInstanceInvoker, getBuiltinClassLoaderClass, getBuiltinClassLoaderClassSupplier, getClassByName, getClassByNameRetriever, getClassLoaderDelegateClass, getClassLoaderDelegateClassSupplier, getConstructorInvoker, getConsulter, getConsulterRetriever, getDeclaredConstructors, getDeclaredConstructorsRetriever, getDeclaredFields, getDeclaredFieldsRetriever, getDeclaredMethods, getDeclaredMethodsRetriever, getDeepConsulterRetriever, getExceptionThrower, getFieldValue, getFieldValueRetriever, getFieldValueSetter, getHookClassDefiner, getLoadedClassesRetriever, getLoadedClassesRetrieverFunction, getLoadedPackagesRetriever, getMethodInvoker, getOrBuildAccessibleSetter, getOrBuildAllocateInstanceInvoker, getOrBuildBuiltinClassLoaderClassSupplier, getOrBuildClassByNameRetriever, getOrBuildClassLoaderDelegateClassSupplier, getOrBuildConstructorInvoker, getOrBuildConsulterRetriever, getOrBuildDeclaredConstructorsRetriever, getOrBuildDeclaredFieldsRetriever, getOrBuildDeclaredMethodsRetriever, getOrBuildDeepConsulterRetriever, getOrBuildExceptionThrower, getOrBuildFieldValueRetriever, getOrBuildFieldValueSetter, getOrBuildHookClassDefiner, getOrBuildLoadedClassesRetrieverFunction, getOrBuildLoadedPackagesRetriever, getOrBuildMethodInvoker, getOrBuildPackageRetriever, getOrBuildResourcesRetriever, getPackage, getPackageRetriever, getResources, getResources, getResourcesRetriever, init, invoke, isBuiltinClassLoader, isClassLoaderDelegate, newInstance, putIfNotNull, retrieveLoadedPackages, setAccessible, setFieldValue, throwException
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DefaultDriver
public DefaultDriver()
-
-
Method Details
-
getThrowExceptionFunctionClass
- Specified by:
getThrowExceptionFunctionClass
in classDriverAbst
-
getAllocateInstanceFunctionClass
- Specified by:
getAllocateInstanceFunctionClass
in classDriverAbst
-
getGetFieldValueFunctionClass
- Specified by:
getGetFieldValueFunctionClass
in classDriverAbst
-
getSetFieldValueFunctionClass
- Specified by:
getSetFieldValueFunctionClass
in classDriverAbst
-
getDefineHookClassFunctionClass
- Specified by:
getDefineHookClassFunctionClass
in classDriverAbst
-
getConsulterSupplyFunctionClass
- Specified by:
getConsulterSupplyFunctionClass
in classDriverAbst
-
getGetDeclaredFieldsFunctionClass
- Specified by:
getGetDeclaredFieldsFunctionClass
in classDriverAbst
-
getGetDeclaredMethodsFunctionClass
protected java.lang.Class<? extends GetDeclaredMethodsFunction> getGetDeclaredMethodsFunctionClass()- Specified by:
getGetDeclaredMethodsFunctionClass
in classDriverAbst
-
getGetDeclaredConstructorsFunctionClass
protected java.lang.Class<? extends GetDeclaredConstructorsFunction> getGetDeclaredConstructorsFunctionClass()- Specified by:
getGetDeclaredConstructorsFunctionClass
in classDriverAbst
-
getSetAccessibleFunctionClass
- Specified by:
getSetAccessibleFunctionClass
in classDriverAbst
-
getConstructorInvokeFunctionClass
- Specified by:
getConstructorInvokeFunctionClass
in classDriverAbst
-
getMethodInvokeFunctionClass
- Specified by:
getMethodInvokeFunctionClass
in classDriverAbst
-
getGetPackageFunctionClass
- Specified by:
getGetPackageFunctionClass
in classDriverAbst
-
getGetResourcesFunctionClass
- Specified by:
getGetResourcesFunctionClass
in classDriverAbst
-
getGetClassByNameFunctionClass
- Specified by:
getGetClassByNameFunctionClass
in classDriverAbst
-
getBuiltinClassLoaderClassSupplierClass
protected java.lang.Class<? extends BuiltinClassLoaderClassSupplier> getBuiltinClassLoaderClassSupplierClass()- Specified by:
getBuiltinClassLoaderClassSupplierClass
in classDriverAbst
-
getClassLoaderDelegateClassSupplierClass
protected java.lang.Class<? extends ClassLoaderDelegateClassSupplier> getClassLoaderDelegateClassSupplierClass()- Specified by:
getClassLoaderDelegateClassSupplierClass
in classDriverAbst
-
getDeepConsulterSupplyFunctionClass
protected java.lang.Class<? extends DeepConsulterSupplyFunction> getDeepConsulterSupplyFunctionClass()- Specified by:
getDeepConsulterSupplyFunctionClass
in classDriverAbst
-
getGetLoadedClassesRetrieverFunctionClass
protected java.lang.Class<? extends GetLoadedClassesRetrieverFunction> getGetLoadedClassesRetrieverFunctionClass()- Specified by:
getGetLoadedClassesRetrieverFunctionClass
in classDriverAbst
-
getGetLoadedPackagesFunctionClass
- Specified by:
getGetLoadedPackagesFunctionClass
in classDriverAbst
-