cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: [GSOC] Simple and lightweight HTML-based browser for surveying Apache CXF logs
Date Sun, 25 Jul 2010 20:59:58 GMT
Hi Tomasz

On Sun, Jul 25, 2010 at 5:51 PM, Tomasz Oponowicz <
tomasz.oponowicz@gmail.com> wrote:

> Hi,
>
> I've got some problem and I can't figure it out:
>
> LogBrowser contains BootstrapStorage service. It's used to retrieve
> user's settings from server - It's crucial service and user must
> include it in his application in order to use LogBrowser. At the
> moment BootstrapStorage service contains "filters" of two kinds. One
> depends on user, e.g. AbstractAuthenticationFilter. Others are always
> required, e.g. configured JSONProvider and
> BootstrapStorage.StaticFileProvider.
>
> Is there any way I can include this "filters" automatically without
> user knowledge (e.g. by annoation or programmatically). I found only
> something like this:
>
> @org.apache.cxf.interceptor.InInterceptors (interceptors =
> {"com.example.Test1Interceptor" })
>
> Currently, registering providers with (CXF) JAXRS endpoints requires the
explicit configuration, either
from Spring or from CXFNonSpringJaxrsServlet. No scanning is supported. I'm
hoping that in time what
StaticFileProvider does will be supported by AbstractHttpServlet. Perhaps
@Providers annotation can also be added in time

thanks, Sergey




> On Thu, Jul 15, 2010 at 11:19 PM, Sergey Beryozkin <sberyozkin@gmail.com>
> wrote:
> > Hi Tomasz
> >
> >>
> >>
> >> > - how do you consider letting users browse through the entries given
> that
> >> a
> >> > number of entries to be displayed on a page is limited - there should
> be
> >> > first/previous/next/last links.
> >>
> >> This is already implemented. first/previous/next/last links are
> >> visible or hidden depend on response from AtomPullServer.
> >>
> >> For example:
> >>
> >> <feed xmlns="http://www.w3.org/2005/Atom">
> >>    [...]
> >>    <link href="http://localhost:8888/log/logs" rel="self"/>
> >>    <link href="http://localhost:8888/log/logs/alternate/1"
> >> rel="alternate"/>
> >>    <link href="http://localhost:8888/log/logs/2" rel="next"/>
> >>    <link href="http://localhost:8888/log/logs/4" rel="last"/>
> >>    [...]
> >> </feed>
> >>
> >> There are visible only refresh, next and last links. first and
> >> previous links are hidden.
> >>
> >>
> > sorry, I guess I should've generated more log entries - will try later...
> >
> > by the way - given that it is an HTML-aware browser, you may want to use
> the
> > 'alternate' links to retrieve the content to be displayed, both for the
> feed
> > and for individual entries
> >
> > thanks, Sergey
> >
>
>
>
> --
> Best regards,
> Tomasz Oponowicz
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message