[jboss-user] [Microcontainer] - MicroContainer with external dependencies

ataylor do-not-reply at jboss.com
Wed Oct 17 05:35:07 EDT 2007


I have a dependency on a datasource being bound to a naming server. This is fine when i run bootstrap as i control when and how it is created. However when i run within the JBoss AS the datasource is not bound until after the microcontainer has started. Is there any way of defining a dependency on this datasource. If i was running as a service i would add the following to my bean definition
<depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>

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

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



More information about the jboss-user mailing list