db4o 6.3

com.db4o.config
Class VanillaClassHandler

java.lang.Object
  extended by 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


Constructor Summary
VanillaClassHandler()
           
 
Method Summary
 boolean canNewInstance()
          implement and return true, if this CustomClassHandler creates object instances on calls to CustomClassHandler.newInstance().
 ReflectClass classSubstitute()
           
 boolean ignoreAncestor()
           
 java.lang.Object newInstance()
          implement to create a new instance of an object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VanillaClassHandler

public VanillaClassHandler()
Method Detail

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

db4o 6.3