good suggestion, I just updated the code that way :)
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On April 8, 2014 at 10:24:06 PM, Claus Ibsen (claus.ib...@gmail
Hi
Instead of synchrnoized logic which isn't ideal, we should use doStart
/ doStop to do this kind of logic. eg you can extend ServiceSupport
and then in doStart / doStop you can load the schema, so its ready
before use. So then you don't need any scynrhonized code and whatnot.
On Tue, Apr 8, 201