Java Dynamic Management Kit 3.2 Programming Guide
[ Previous ][ Fast Back ]Chapter 9. Troubleshooting [ Next ]

Getters and Setters in a C-Bean

If you want getter and setter methods in an m-bean to be present in c-beans generated by mogen, they must conform to the JavaBeans component model. For example, the following method is not a getter method as defined by the JavaBeans component model:
getX(A a, B b) 

Therefore, mogen does not generate this method in a c-bean. If you want to define a method that gets the value of several attributes, and if you want that method to be present in a c-bean generated by mogen, define the method as an action by including the perform prefix in the method name:
performGetX( A a, B b) 


[ Previous ][ Home ][ Next ]
Threads With Native Methods[ Up ]Missing Value Change Events