abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Moseley" <...@osafoundation.org>
Subject Re: supporting multiple Providers
Date Wed, 13 Jun 2007 00:02:51 GMT
On 6/12/07, James M Snell <jasnell@gmail.com> wrote:
> FWIW, It is possible to implement your own RequestHandler and
> ProviderManager implementations and use those instead.

have done ;)

<http://viewcvs.osafoundation.org/server/cosmo/trunk/cosmo/src/main/java/org/osaf/cosmo/atom/servlet/StandardRequestHandler.java?rev=4676&view=markup>
<http://viewcvs.osafoundation.org/server/cosmo/trunk/cosmo/src/main/java/org/osaf/cosmo/atom/provider/StandardProviderManager.java?rev=4665&view=markup>

btw, StandardRequestHandler implements a couple other things that i
think would be useful in the framework:

* PUT to a collection to update its state ... not specified by APP,
but perhaps useful enough to at least have an extension point that
doesn't require subclassing

* conditional method handling ... the key is the AuditableTarget
interface with getEntityTag and getLastModified methods

if either of these are interesting, let's start new threads to discuss.

Mime
View raw message