Package com.db4o.internal
Class JDK
- java.lang.Object
-
- com.db4o.internal.JDK
-
- Direct Known Subclasses:
JDKReflect
public class JDK extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JDK()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static boolean
classIsAvailable(java.lang.String className)
void
commonConfigurations(Config4Impl config)
always call super if you overrideReflector
createReflector(java.lang.Object classLoader)
java.lang.Object
createWeakReference(java.lang.Object obj)
void
extendConfiguration(Config4Impl config)
Config4Class
extendConfiguration(ReflectClass clazz, Configuration config, Config4Class classConfig)
java.lang.String
generateSignature()
boolean
isConnected(java.net.Socket socket)
java.lang.Class
loadClass(java.lang.String className, java.lang.Object classLoader)
long
nanoTime()
NetTypeHandler[]
netTypes(Reflector reflector)
Reflector
reflectorForType(java.lang.Class clazz)
void
registerCollections(GenericReflector reflector)
ReflectConstructor
serializableConstructor(Reflector reflector, java.lang.Class clazz)
void
throwIllegalArgumentException(java.lang.Throwable origExc)
NetTypeHandler[]
types(Reflector reflector)
boolean
useNativeSerialization()
int
ver()
java.lang.Object
weakReferenceTarget(java.lang.Object weakRef)
-
-
-
Method Detail
-
commonConfigurations
public void commonConfigurations(Config4Impl config)
always call super if you override
-
createWeakReference
public java.lang.Object createWeakReference(java.lang.Object obj)
-
extendConfiguration
public void extendConfiguration(Config4Impl config)
-
extendConfiguration
public Config4Class extendConfiguration(ReflectClass clazz, Configuration config, Config4Class classConfig)
-
isConnected
public boolean isConnected(java.net.Socket socket)
-
ver
public int ver()
-
loadClass
public java.lang.Class loadClass(java.lang.String className, java.lang.Object classLoader) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
nanoTime
public long nanoTime()
-
registerCollections
public void registerCollections(GenericReflector reflector)
-
serializableConstructor
public ReflectConstructor serializableConstructor(Reflector reflector, java.lang.Class clazz)
-
weakReferenceTarget
public java.lang.Object weakReferenceTarget(java.lang.Object weakRef)
-
createReflector
public Reflector createReflector(java.lang.Object classLoader)
-
reflectorForType
public Reflector reflectorForType(java.lang.Class clazz)
-
types
public NetTypeHandler[] types(Reflector reflector)
-
netTypes
public NetTypeHandler[] netTypes(Reflector reflector)
-
useNativeSerialization
public boolean useNativeSerialization()
-
throwIllegalArgumentException
public void throwIllegalArgumentException(java.lang.Throwable origExc)
-
classIsAvailable
protected static final boolean classIsAvailable(java.lang.String className)
-
generateSignature
public java.lang.String generateSignature()
-
-