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 booleanclassIsAvailable(java.lang.String className)voidcommonConfigurations(Config4Impl config)always call super if you overrideReflectorcreateReflector(java.lang.Object classLoader)java.lang.ObjectcreateWeakReference(java.lang.Object obj)voidextendConfiguration(Config4Impl config)Config4ClassextendConfiguration(ReflectClass clazz, Configuration config, Config4Class classConfig)java.lang.StringgenerateSignature()booleanisConnected(java.net.Socket socket)java.lang.ClassloadClass(java.lang.String className, java.lang.Object classLoader)longnanoTime()NetTypeHandler[]netTypes(Reflector reflector)ReflectorreflectorForType(java.lang.Class clazz)voidregisterCollections(GenericReflector reflector)ReflectConstructorserializableConstructor(Reflector reflector, java.lang.Class clazz)voidthrowIllegalArgumentException(java.lang.Throwable origExc)NetTypeHandler[]types(Reflector reflector)booleanuseNativeSerialization()intver()java.lang.ObjectweakReferenceTarget(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()
-
-