org.springframework.beans
Interface ITestBean

All Known Implementing Classes:
TestBean

public interface ITestBean

Interface used for test beans. Two methods are the same as on Person, but if this extends person it breaks quite a few tests

Author:
Rod Johnson

Method Summary
 void exceptional(Throwable t)
          t null no error
 int getAge()
           
 INestedTestBean getDoctor()
           
 INestedTestBean getLawyer()
           
 String getName()
           
 IndexedTestBean getNestedIndexedBean()
           
 ITestBean getSpouse()
           
 int haveBirthday()
          Increment the age by one
 Object returnsThis()
           
 void setAge(int age)
           
 void setName(String name)
           
 void setSpouse(ITestBean spouse)
           
 void unreliableFileOperation()
           
 

Method Detail

getAge

int getAge()

setAge

void setAge(int age)

getName

String getName()

setName

void setName(String name)

getSpouse

ITestBean getSpouse()

setSpouse

void setSpouse(ITestBean spouse)

exceptional

void exceptional(Throwable t)
                 throws Throwable
t null no error

Throws:
Throwable

returnsThis

Object returnsThis()

getDoctor

INestedTestBean getDoctor()

getLawyer

INestedTestBean getLawyer()

getNestedIndexedBean

IndexedTestBean getNestedIndexedBean()

haveBirthday

int haveBirthday()
Increment the age by one

Returns:
the previous age

unreliableFileOperation

void unreliableFileOperation()
                             throws IOException
Throws:
IOException


Copyright ? 2005-2008 Spring Framework. All Rights Reserved.