Method Summary |
|
final static synchronized void | addShutDownHook(PartialObjectContainer container) |
static boolean | callConstructor() |
final public static boolean | canSetAccessible() |
final static boolean | classIsAvailable(String className) |
public static Object[] | collectionToArray(ObjectContainerBase stream, Object obj) |
static Db4oCollections | collections(Transaction transaction) |
final static Object | createActiveObjectReference(Object a_queue, Object a_yapObject, Object a_object) |
final static Object | createReferenceQueue() |
final static Reflector | createReflector(Object classLoader) |
public static Object | createWeakReference(Object obj) |
public static Object | deserialize(byte[] bytes) |
final public static long | doubleToLong(double a_double) |
final public static QConEvaluation | evaluationCreate(Transaction a_trans, Object example) |
final public static void | evaluationEvaluate(Object a_evaluation, Candidate a_candidate) |
public static Config4Class | extendConfiguration(ReflectClass clazz, Configuration config, Config4Class classConfig) Should create additional configuration, for example through reflection
on annotations. |
final static Collection4 | flattenCollection(ObjectContainerBase stream, Object obj) |
final static void | flattenCollection1(ObjectContainerBase stream, Object obj, Collection4 col) |
final static void | flattenCollection2(ObjectContainerBase a_stream, Object a_object, com.db4o.foundation.Collection4 col) |
final static void | forEachCollectionElement(Object a_object, Visitor4 a_visitor) |
final public static String | format(Date date, boolean showTime) |
public static Object | getClassForType(Object obj) |
final public static void | getDefaultConfiguration(Config4Impl config) |
public static Object | getTypeForClass(Object obj) |
final static Object | getYapRefObject(Object a_object) |
final static synchronized boolean | hasCollections() |
final public static boolean | hasLockFileThread() |
final public static boolean | hasNio() |
final static boolean | hasShutDownHook() |
final static boolean | hasWeakReferences() |
final static boolean | ignoreAsConstraint(Object obj) |
final static boolean | isCollectionTranslator(Config4Class a_config) |
public static boolean | isConnected(Socket socket) |
public static boolean | isDb4oClass(String className) |
public static boolean | isSimple(Class a_class) |
public static boolean | isTransient(ReflectClass claxx) |
final public static boolean | isValueType(ReflectClass claxx) |
public static JDK | jdk() |
final static void | killYapRef(Object a_object) |
public static void | link() |
final public static void | lockFile(String path, Object file) |
final public static double | longToDouble(long a_long) |
static void | markTransient(String marker) |
final static void | pollReferenceQueue(Object a_stream, Object a_referenceQueue) |
public static void | postOpen(ObjectContainer oc) |
static void | preClose(ObjectContainer oc) |
public static Reflector | reflectorForType(Class clazz) |
public static void | registerCollections(GenericReflector reflector) |
final static synchronized void | removeShutDownHook(PartialObjectContainer container) |
final public static byte[] | serialize(Object obj) |
final public static void | setAccessible(Object a_accessible) |
public static boolean | storeStaticFieldValues(Reflector reflector, ReflectClass claxx) |
final static NetTypeHandler[] | types(ObjectContainerBase container) |
final public static void | unlockFile(String path, Object file) |
public static byte[] | updateClassName(byte[] bytes) |
public static Object | weakReferenceTarget(Object weakRef) |
public static Object | wrapEvaluation(Object evaluation) |
extendConfiguration |
public static Config4Class extendConfiguration(ReflectClass clazz, Configuration config, Config4Class classConfig)(Code) |
| Should create additional configuration, for example through reflection
on annotations.
- If a valid configuration is passed as classConfig, any additional
configuration, if available, should be applied to this object, and
this object should be returned.
- If classConfig is null and there is no additional configuration,
null should be returned.
- If classConfig is null and there is additional configuration, this code
should create and register a new configuration via config.objectClass(),
apply additional configuration there and return this new instance.
The reason for this dispatch is to avoid creation of a configuration
for a class that doesn't need configuration at all.
Parameters: clazz - The class to be searched for additional configuration information Parameters: config - The global database configuration Parameters: classConfig - A class configuration, if one already exists classConfig, if not null, a newly created ObjectClass otherwise. |