didnt check with tomee.xml but

version-checker = new://Service?type=org.apache.openejb.util.UpdateChecker

works now

- Romain


2012/6/21 David Blevins <[email protected]>

> On Thu, Jun 21, 2012 at 1:48 AM, David Blevins <[email protected]>
> wrote:
> >  <Service id="checker" class="foo.bar.UpdateChecker">
> >    frequency = 1 day
> >  </Service>
>
> I'll note this part isn't fully functional yet.  The code will still
> complain that a service-jar.xml declaration is missing.  The clear
> intention is that one isn't needed as the class is specified.  Just
> wanted to get it checked in so people could see it early.
>
> It might be nice to also update <Resource> so you can simply specify
> the class as an attribute and avoid the need for a service-jar.xml
> file.  Have wanted to do that one for a while actually.
>
>
> -David
>

Reply via email to