The current NotificationProducer has the following two methods:
publish(QName, Element)
publish(QName, XmlSerializable)
 
Can an additional method be added to take any type of object, as long as
a Serializer is registered for it?  The code should take advantage of
the same Muse serialization engine invoked when a custom object is
returned from a capability method.  The new publish() should throw an
error if a non-serializable object is specified.
 
This way, we don't need to explicitly serialize our objects to xml
before sending them in a notification, and take advantage of what Muse
can already do for us.  Thanks!
-Vinh

Reply via email to