[ http://jira.codehaus.org/browse/JIBX-96?page=all ]

Dennis Sosnoski updated JIBX-96:
--------------------------------

    Assign To: Dennis Sosnoski

That's an interesting suggestion, since user methods often need a context of 
some form. I work around this when unmarshalling the actual binding definitions 
by using a wrapper class for the root object which includes the context 
information, but a simple getUserContext/setUserContext would definitely be 
easier.

> add an user-object to the IUnmarshallingContext class
> -----------------------------------------------------
>
>          Key: JIBX-96
>          URL: http://jira.codehaus.org/browse/JIBX-96
>      Project: JiBX
>         Type: New Feature

>   Components: core
>     Reporter: Matthias Mann
>     Assignee: Dennis Sosnoski

>
>
> The class IUnmarshallingContext should get a user object that can be used by 
> factory methods to pre-initialize an object.
> Suggested interface:
>   public Object  getUserObject();
>   public void setUserObject(Object obj);
> This object can then be stored in the context before starting unmarshalling 
> and is then accessible by all factories.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to