com.db4o.config
Class VanillaClassHandler
java.lang.Object
com.db4o.config.VanillaClassHandler
- All Implemented Interfaces:
- CustomClassHandler
public class VanillaClassHandler
- extends java.lang.Object
- implements CustomClassHandler
base class for CustomClassHandler, to change some behaviour only
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VanillaClassHandler
public VanillaClassHandler()
canNewInstance
public boolean canNewInstance()
- Description copied from interface:
CustomClassHandler
- implement and return true, if this CustomClassHandler creates
object instances on calls to
CustomClassHandler.newInstance()
.
- Specified by:
canNewInstance
in interface CustomClassHandler
- Returns:
- true, if this CustomClassHandler creates new instances.
newInstance
public java.lang.Object newInstance()
- Description copied from interface:
CustomClassHandler
- implement to create a new instance of an object.
- Specified by:
newInstance
in interface CustomClassHandler
- Returns:
- the new Object
classSubstitute
public ReflectClass classSubstitute()
- Specified by:
classSubstitute
in interface CustomClassHandler
ignoreAncestor
public boolean ignoreAncestor()
- Specified by:
ignoreAncestor
in interface CustomClassHandler