[jboss-user] [JBoss Tools Users] - Does anyone know how to add beans to Bean Repository via Smo

bbuzzard do-not-reply at jboss.com
Mon Nov 30 09:51:26 EST 2009


If you want to add a bean to the Bean Context in Smooks it's pretty easy, just get an instance of the BeanRepository and add the bean to the context.  However, it's unclear to me how to add beans via the Smooks XML editor.  I don't even know if it's possible or if I have to create some custom SmooksAction where I add beans to the BeanContext.

I think the best solution would be to use the Smooks XML Editor, but if I have to create a custom SmooksAction then I'm ok with that too.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268105#4268105

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268105



More information about the jboss-user mailing list