Hi,
I'm thinking about a facility to provide persistence for components. YOu
could register components by providing their paths, much like the model
hanlder in the HTTP-facility. The question is - how to trigger the
update/delete etc from outside the component? I guess that comes down to
the interceptor things that were discussed earlier. Is there a good way
to do that without introducing new functionality in order to keep
Niclas' resevations in mind?

It could be something like

<component name="test"/>

<component name="persistence-hanlder"
class="my.persistence.jdo.ojb.DefaultHandler">
<configuration>
        <mapping path="/test">
                <update method="setName"/>
                <update methid="setId"/>
        </mapping>
</configuration>

This is very simplistic, and the trigger methods could certainly be
exposed via a better syntax, but we have to start somewhere...

Any suggestions?


/peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to