hi chad,
       First of all i am not clear with the control concepts itself...what
is the exact purpose of customized control...
what is the exact need for that autogenerated bean and beaninfo class...In
the documentation it says like for reducing the J2EE complexity thats
accepted for EJBControl and also for JdbcControl..when we go for the normal
Customized Control...thanks in advance
 


Chad Schoettger-2 wrote:
> 
> Hi Sahuly,
> 
> For each control there is a control bean generated at build time.  You
> could do something like:
> 
> @Control
> private UserControlBean userControl;
> 
> Then you could use reflection to find and invoke a method on the bean.
>  You can also use the java.beans.Introspector class to get the
> BeanInfo for the control bean for more in depth introspection.
> 
> The generated control bean class will have all of the public methods
> defined by your control interface as well as getters and setters for
> property set elements, etc.
> 
> Let me know if this answers your question, if not please provide a bit
> more detail on what you are trying to do.
> 
>  - Chad
> 
> 
> On 1/25/07, sahuly <[EMAIL PROTECTED]> wrote:
>>
>> public class Controller
>> extends PageFlowController {
>>
>>    @Control
>>     private UserControl userControl;---> i have to provide this interface
>> at
>> runtime i have to invoke the
>> methods using the reflectin package....not in this way(i.e) by using
>> invoke
>> and getMethods i dont know how to provide this so kindly post ur
>> suggestions.....the code here is partial only
>>
>>    public Forward addUser(UserDTO userDTO) {
>>
>>     userControl.addUser(userDTO)
>>  }
>> --
>> View this message in context:
>> http://www.nabble.com/how-to-use-reflect-in-beehive-tf3099470.html#a8603637
>> Sent from the Beehive - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-use-reflect-in-beehive-tf3099470.html#a8646471
Sent from the Beehive - User mailing list archive at Nabble.com.

Reply via email to