Re: Question about developing Gbeans

2010-04-16 Thread Jenson283
Hi, thanks for the quick answer, after you're answer i tried to invoke the method test from the kernel to test your're answer. Unfortunately the kernel was able to invoke this function. Here i've got more information what i try, if there any problems to understand my issue. I have a GBean,

Re: Question about developing Gbeans

2010-04-16 Thread David Jencks
All the operations on the object are exposed through the gbean info. I thought all the attributes were too, whether or not they are declared, but I am less sure of that. What exactly is the problem you are having? Do you want to prevent people from calling certain methods through jmx, or

Re: Question about developing Gbeans

2010-04-16 Thread Jenson283
the gbean were exposed as an mbean, the problem is that all my public methods were exposed in the method, although i got only a part of them added to my gbeaninfo. Yes my goal is it to prevent people from calling certain methods through jmx. thanks Jenson -- View this message in context:

Re: Question about developing Gbeans

2010-04-16 Thread David Jencks
On Apr 15, 2010, at 11:53 PM, Jenson283 wrote: the gbean were exposed as an mbean, the problem is that all my public methods were exposed in the method, although i got only a part of them added to my gbeaninfo. Yes my goal is it to prevent people from calling certain methods through

Re: Question about developing Gbeans

2010-04-16 Thread Ivan
For those methods with primitive or non-return values, they should work well. IIRC, GEP use JMX to interact with those GBeans running in the Kernel. Hi, David : I just checked a little about the current GBeanInfoBuilder codes, it seems that it add all the methods in the extends tree. Its