thanks, Craig. So you just declare the implementation class for component, then forward all interfaces after '<', including the 'primary' component interface?
R On May 15, 9:30 pm, Craig Neuwirt <[email protected]> wrote: > syntax normally looks like this > > component 'engine' is NGinnBPM.Runtime.NGEngine < IMessageConsumer of > TaskCompletedEvent > > On Fri, May 15, 2009 at 2:22 PM, rg <[email protected]> wrote: > > > Hi, I have read somewhere that service forwarding is implemented in > > Binsor, but it doesn't work for me > > Here's a snippet from my binsor config file: > > > Component("NGEnvironment", INGEnvironment, > > NGinnBPM.Runtime.NGEnvironment, LifestyleType.Singleton) > > Component("Engine", NGinnBPM.Runtime.NGEngine, > > NGinnBPM.Runtime.NGEngine, LifestyleType.Singleton) > > @NGEnvironment < IMessageConsumer of TaskCompletedEvent > > > And the error suggests that '<' operator is not properly overloaded to > > support forwarding: > > 2008-12-28 01:57:07.1099|ERROR| > > NGinnBPM.Engine.WindsorHost.WindsorHostService|Error: BCE0000: Could > > not compile configur > > ation! Binsor2dd2a929-6e1f-4e74-a9b5-49b6ab126d48(59,16): BCE0051: > > Boo.Lang.Compiler.CompilerError: Operator '<' cannot > > be used with a left hand side of type > > 'Rhino.Commons.Binsor.ComponentReference' and a right hand side of > > type 'System.Ty > > pe'. > > > 2008-12-28 01:57:07.1199|ERROR|NGinnBPM.Engine.WindsorHost.Program| > > Error: BCE0000: Could not compile configuration! Bins > > or2dd2a929-6e1f-4e74-a9b5-49b6ab126d48(59,16): BCE0051: > > Boo.Lang.Compiler.CompilerError: Operator '<' cannot be used wit > > h a left hand side of type 'Rhino.Commons.Binsor.ComponentReference' > > and a right hand side of type 'System.Type'. > > > I'm using several days old build of rhino toools, so if forwarding is > > implemented it should be there. > > What's wrong? Am I using incorrect syntax? Is there any Binsor > > documentation with current state of affairs? > > > Best regards > > Rafal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
