9 Replies Latest reply on Oct 29, 2007 7:55 AM by Ales Justin

    MicroContainer with external dependencies

    Andy Taylor Master

      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>