[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-user
Subject: RE: Last object in key path
From: Martin Gainty <mgainty () hotmail ! com>
Date: 2016-05-19 19:14:41
Message-ID: BLU172-W887025BCFD8E43F0C1356AE4A0 () phx ! gbl
[Download RAW message or body]
> Date: Thu, 19 May 2016 10:51:24 -0700
> Subject: Last object in key path
> From: lon.varscsak@gmail.com
> To: user@commons.apache.org
>
> Hey guys,
>
> I’m trying to do something where right before setting a value, I want to
> lookup and call a validation routine. I was looking for a method where I
> could get the target object for a given property, but I can’t seem to find
> one that’s exposed.
>
> So for a key path of “key1.key2.key3” when setting a value, I’d like to try
> to lookup a method on the object represented by “key2” and call that first,
> and then conditionally call the set. Any ideas?
MG>1)setup a Asynchronous Callback so when a known condition is met the Callback is invoked ...OR...
MG>2)implement An Eventing Framework like Felix for OSGI
>
> Thanks,
>
> Lon
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic