Justin Deoliveira ha scritto: > Andrea Aime wrote: >> Justin Deoliveira ha scritto: >>> Hi all, >>> >>> I have created an interface for the life cycle of a dispatcher >>> request as per the discussion for >>> http://jira.codehaus.org/browse/GEOS-2333. I have attached the >>> interface and dispatcher patch to a new issue: >>> >>> http://jira.codehaus.org/browse/GEOS-2402 >>> >>> A code review would be nice. Thanks. >> >> The DispatcherCallback seems pretty complete. Afaik the callback can >> alter everything in the request, but not the object returned from >> dispatching. Say that you may want to wrap it, or swap it solid with >> something else, what about that? > Good point, changing init to return the Request seems like a good idea.
Actually I was thinking changing void operationExecuted( Request request, Operation operation, Object result ); to return an override result so that you can for example wrap the resulting feature collection somehow. Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
