Thanks :)

On Mon, 2005-05-02 at 17:10, Johan Lindquist wrote:
> You can use the "StrictErrorHandler" when creating your servvice (as a  
> property of the builder factory parameters in the hivemodule for your  
> service).  This willt thrown an exception instead of simply logging the  
> error.
> 
> Cheers,
> 
> johan
> 
> On Mon, 02 May 2005 15:13:26 +0200, Igor Laberov <[EMAIL PROTECTED]>  
> wrote:
> 
> > Is it possible make validation programatically, like calling validate()
> > function and/or throw an (optional) exception on processModule() /
> > getService()?
> > Should I open JIRA on this request?
> >
> > On Mon, 2005-05-02 at 15:08, Johan Lindquist wrote:
> >> Igor, hivemind should already be reporting errors like the ones you are
> >> describing - down to the line in the XML that contains the bad element  
> >> ...
> >>
> >> Look in your logs for something like this:
> >>
> >> org.apache.hivemind.ApplicationRuntimeException: Class test.XYZ does not
> >> contain a property named 'foo'.
> >>
> >> If not, it is probably a bug and if you wouldn't mind raising an issue  
> >> in
> >> the jira about so someone will have a look .
> >>
> >> Johan
> >>
> >> On Mon, 02 May 2005 13:16:10 +0200, Igor Laberov <[EMAIL PROTECTED]>
> >> wrote:
> >>
> >> > Hi all,
> >> > Is it possible to perform validation of defined descriptor?
> >> > Here some problematic flows:
> >> > 1) At registry construct time: References to another modules are wrong
> >> > 2) At service construction time: Service implementation class doesn't
> >> > have setter method according to declared property in <set-object>, for
> >> > example.
> >> >
> >> > Thank you,
> >> > Igor Laberov
> >> > Qlusters, Inc.
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> you too?
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> -- 
> you too?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to