opensubscriber
   Find in this group all groups
 
Unknown more information…

d : dev@openejb.apache.org 21 June 2012 • 5:17PM -0400

Re: <Service> element in config xml
by Romain Manni-Bucau

REPLY TO AUTHOR
 
REPLY TO GROUP




didnt check with tomee.xml but

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

works now

- Romain


2012/6/21 David Blevins <david.blevins@gmai...>

> On Thu, Jun 21, 2012 at 1:48 AM, David Blevins <david.blevins@gmai...>
> 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
>

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.