|
From: katentim @hotmail.c. <kat...@ho...> - 2004-09-23 12:35:09
|
Someone on the forum put forward a requirement for setting multiple
arguments in a single method for legacy code. Method args. could be
specified in a similar way to constructor args. While this is a move away
from Beans, it's not a move away from IoC, POJOs or OO. What do others
think?
class SomeClass
{
public void setNamedValue(String name, Object value) {...};
public Object getNamedValue(String name) {...};
}
_________________________________________________________________
Click here for the latest chart ringtones:
http://ringtones.com.au/ninemsn/control?page=/ninemsn/main.jsp
|