Hi,
On 11/15/06, Remy Maucherat <[EMAIL PROTECTED]> wrote:
Mark Thomas wrote:
> Thoughts? Comments? Objections?
On second thought, I'm not sure it's a good idea to do it without some
verifications. For example, if reflection is allowed on the facades,
then it will probably allow getting the reference to the real object,
which should not be allowed.
Because these are internal implementations, if the user is whack
enough to try and access the real object behind the facade, I'd say
they're at their own risk.
IMO, this reflection stuff is not legitimate use.
Why? It seems fairly reasonable to me for a view-level framework like
Velocity or WebWork or Struts Action, or... A lot of them go this
OGNL-style stack traversal and reflection is a pretty generic way to
go about it.
I think putting the facades in their own package is kind of ugly, but
I'm not sure I see an easier solution for the security mode issue.
Yoav
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]