Package com.db4o.internal.handlers
Class PlainObjectHandler
- java.lang.Object
-
- com.db4o.internal.handlers.PlainObjectHandler
-
- All Implemented Interfaces:
ReferenceTypeHandler
,TypeHandler4
public class PlainObjectHandler extends java.lang.Object implements ReferenceTypeHandler
Tyehandler for naked plain objects (java.lang.Object).
-
-
Constructor Summary
Constructors Constructor Description PlainObjectHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate(ReferenceActivationContext context)
gets called when an object is to be activated.void
defragment(DefragmentContext context)
gets called when an object gets defragmented.void
delete(DeleteContext context)
gets called when an object gets deleted.void
write(WriteContext context, java.lang.Object obj)
gets called when an object is to be written to the database.
-
-
-
Method Detail
-
defragment
public void defragment(DefragmentContext context)
Description copied from interface:TypeHandler4
gets called when an object gets defragmented.- Specified by:
defragment
in interfaceTypeHandler4
-
delete
public void delete(DeleteContext context) throws Db4oIOException
Description copied from interface:TypeHandler4
gets called when an object gets deleted.- Specified by:
delete
in interfaceTypeHandler4
- Throws:
Db4oIOException
-
activate
public void activate(ReferenceActivationContext context)
Description copied from interface:ReferenceTypeHandler
gets called when an object is to be activated.- Specified by:
activate
in interfaceReferenceTypeHandler
-
write
public void write(WriteContext context, java.lang.Object obj)
Description copied from interface:TypeHandler4
gets called when an object is to be written to the database.- Specified by:
write
in interfaceTypeHandler4
obj
- the object
-
-