Posted By:
Karu_N
Posted On:
Tuesday, March 5, 2002 04:30 AM
i have the following requirement for one of my application :
here I am casting the bean with its appropriate CLASS.
MasterBean proxy = null;
proxy = (MasterBean)java.beans.Beans
.instantiate( getClass()
.getClassLoader(), "MasterBean");
Is there a way to cast the bean at runtime ,i.e. if i get the class name only at runtime and i have the class name as a string variable?