| Article: |
Aspect-Oriented Programming and JBoss | |
| Subject: | access method return value | |
| Date: | 2003-06-03 09:15:52 | |
| From: | anonymous2 | |
|
can I do that? set the return value of a method?
|
||
Showing messages 1 through 4 of 4.
-
access method return value
2003-06-03 09:21:43 patriot1burke [View]
-
access method return value
2003-06-03 14:14:47 anonymous2 [View]
Maybe the question is dumb, but what is 'POJO'?
I haven't heard this term before.
Is it like 'foo'?
-
access method return value
2003-06-03 14:19:34 anonymous2 [View]
PlainOldJavaObject
This is compared with a managed object,
like a servlet or an ejb.
Regards,
Adrian
-
access method return value
2003-06-03 09:25:28 anonymous2 [View]
Like this:
response = invocation.invokeNext();
response.setResponse(newValue);
return response;
Regards,
Adrian



We do this in JBoss 4 with our transaction ACID pojos. We intercept field access to a POJO and return the value that is associated with the transaction.
Bill