KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > arooa > reflect > RegistryLookup


1 /*
2  * (c) Rob Gordon 2005
3  */

4 package org.oddjob.arooa.reflect;
5
6
7 /**
8  *
9  */

10 public interface RegistryLookup {
11
12     
13     /**
14      * Set a property on a Component in the registry. This method
15      * will resolve the valueFor before setting the property. This might
16      * not be the desired result for things like variables. The
17      * way round this would be to create a dummy type ProxyType which
18      * the DynaClass of VariablesJob, SetJob etc would return and which
19      * valueFor methods would recognize and would return themselves as the
20      * valueFor - but that's a lot of work and propbably isn't requied
21      * much.
22      * <p>
23      * This method should really be a lot better at resolving the types of
24      * nested beans for property conversion. This method only goes as far as
25      * resolving past component id so the correct type of component is used.
26      */

27     public void setProperty(String JavaDoc property, Object JavaDoc value);
28     
29     public Object JavaDoc getProperty(String JavaDoc fullName);
30     
31 }
32
Popular Tags