Package com.db4o.reflect
Interface Reflector
- 
- All Superinterfaces:
- DeepClone
 - All Known Implementing Classes:
- GenericReflector,- JdkReflector
 
 public interface Reflector extends DeepClone root of the reflection implementation API.
 The open reflection interface is supplied to allow to implement reflection functionality on JDKs that do not come with the java.lang.reflect.* package.
 Useconfiguration.commmon().reflectWith(IReflect reflector)to register the use of your implementation before opening database files.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ReflectArrayarray()returns an ReflectArray object, the equivalent to java.lang.reflect.Array.voidconfiguration(ReflectorConfiguration config)ReflectClassforClass(java.lang.Class clazz)returns an ReflectClass for a ClassReflectClassforName(java.lang.String className)returns an ReflectClass class reflector for a class name or null if no such class is foundReflectClassforObject(java.lang.Object obj)returns an ReflectClass for an object or null if the passed object is null.booleanisCollection(ReflectClass clazz)voidsetParent(Reflector reflector)
 
- 
- 
- 
Method Detail- 
configurationvoid configuration(ReflectorConfiguration config) 
 - 
arrayReflectArray array() returns an ReflectArray object, the equivalent to java.lang.reflect.Array.
 - 
forClassReflectClass forClass(java.lang.Class clazz) returns an ReflectClass for a Class
 - 
forNameReflectClass forName(java.lang.String className) returns an ReflectClass class reflector for a class name or null if no such class is found
 - 
forObjectReflectClass forObject(java.lang.Object obj) returns an ReflectClass for an object or null if the passed object is null.
 - 
isCollectionboolean isCollection(ReflectClass clazz) 
 - 
setParentvoid setParent(Reflector reflector) 
 
- 
 
-