Annotation Type InstanceClass

public @interface InstanceClass

Annotation describing the property class to instantiate if the current value of a property is null but we want to create one.

The class passed as parameter must be instantiable and have a zero-argument constructor. This class is useful if the return type of the property is an interface and you want to declare a default implementation.

David Bernhard (DBD)
Last check-in date:
2009-08-04 15:06:35 +0200 (Di, 04. Aug 2009) by swismer for revision 3878

Required Element Summary
 Class<?> instanceClass
          The class to use.

Element Detail


public abstract Class<?> instanceClass
The class to use.

Copyright © 2005-2011 ELCA. All Rights Reserved.