|
From: Rob H. <ro...@ca...> - 2004-12-02 12:49:03
|
Pablo, Can you raise an issue in JIRA with the related code so I can try and fix this. Rob Pablo Pita Leira wrote: >I have come through a problem involving custom property editors and JMX: > >Imagine you have a class with a date field, so we use the >CustomEditorConfigurer with the CustomDateEditor in the >applicationContext.xml to enter the date property as a plain string. >So far, so good. > >Now, we like to export through JMX the bean methods by having a JmxAdapter >bean around that bean. Now, the bean does not get initialised: there is a >TypeMismatchException when setting the property. > >I have not much experience with JMX nor with Spring, so I wonder what is >going on under the hood. ¿ Is there a smart way of let's say, having the >date strings converted to date objects on the fly even with JMX ? Any >enlightment is appreciated. > > |