Joda System API

org.joda.property.impl
Interface BeanMethods

All Superinterfaces:
java.io.Serializable

public interface BeanMethods
extends java.io.Serializable

BeanMethods is implemented by classes which provide method implementations for a bean defined solely by an interface. The method will be called when no matching property is found. Thus, a BeanMethods class is used to implement any specific business logic for interface defined beans.

The BeanMethods class must be named XxxBeanMethods where Xxx is the bean interface. Each method on XxxBeanMethods must take an additional parameter (always the first parameter). The parameter is of the bean interface type (Xxx).

For example, if the Person interface defines a method buildName(), the asociated PersonBeanMethods class must define a method buildName(Person).

Author:
Stephen Colebourne


Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.