Date: 2004-07-16T05:57:06
Editor: HowardLewisShip <[EMAIL PROTECTED]>
Wiki: Jakarta HiveMind Wiki
Page: ExtendingSmartTranslator
URL: http://wiki.apache.org/jakarta-hivemind/ExtendingSmartTranslator
no comment
Change Log:
------------------------------------------------------------------------------
@@ -164,3 +164,9 @@
Using a configuration point for the !PropertyEditors gives me the capability
of implementing any number of !PropertyEditors I want.
= Conclusion =
The Property Editor is created and registered with hivemind and the Smart
Translator is now aware of type "java.lang.Class" and my problems are solved.
''�It just works�''
+
+---
+
+HowardLewisShip: This is very good, however I have one criticsm. The
!PropertyEditorLoader service should implement java.lang.Runnable and be
contributed into
+the {{{hivemind.Startup}}} configuration. Even as coded here, the methods
{{{setPropertyEditors()}}} and {{{register()}}} can be part of the service
implementation
+''but not the service interface'', because it doesn't make sense for other
code to call these methods.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]