- changed status to wontfix
Java Object as Prototype scope
Issue #333
wontfix
I'm looking for a mechanism to use SnakeYAML's excellent Java object instantiation in a prototype style.
What I mean by that is, I want to read in a file that has several references to Java classes (with the !!foo.bar.Baz) notation, then instead of having a single instance that is created at parse-time, be able to create instances at will (continuing to use the specified constructor/bean definition param that were defined).
So far, the only way I've thought to achieve this is to allow SnakeYAML to create the object, then use a cloning library to create instances as I need them.
Any better ideas?
Also, is there a better place for this question?
Comments (1)
-
- Log in to comment
SnakeYAML's Google Group is a better place for discussions like this.