This is currently not possible. The only way to do this kind of thing
currently would be in the server framework using the
RequestContext.setAttribute(...) method.
- James
Vasudeva Nori wrote:
On Tue, May 13, 2008 at 8:59 AM, James M Snell <[EMAIL PROTECTED]> wrote:
Are you talking about in the server framework or FOM apis?
either way should be fine.
I tried to find some field/member in FOM Api (entry) but couldn't find it.
just to make sure there is no misunderstanding on what I am asking about,
let me show a small code snippet.
looking for some clean way to do the following
want to do this:
in getEntry()
entry.setSomeField((Object)some_obj);
// and abdera will NOT look at this object at all. shouldn't have to.
in JsonWriter
Object obj = entry.getSameFieldAsAbove();
use this object to write out json output - by picking specific
Object members what is needed to be written out.
- James
Vasudeva Nori wrote:
in Entry Object, is there ANY field to which I can assign a Java Object
-
and let it NOT be touched by Abdera at all until I get to the custom
writer
- where it will be accessed and decoded.
No, I am not talking about serializing the object.
I want to carry the object reference from the getEntry() method to the
writer which is called by abdera on its output chain.
thanks