[jboss-dev-forums] [Design of POJO Server] - Re: ENC Deployment

adrian@jboss.org do-not-reply at jboss.com
Mon Sep 18 06:24:40 EDT 2006


"adrian at jboss.org" wrote : 
  | Using a use case configuration:
  | 
  |   | <bean name="SomeDataSource">
  |   |    <property name="JNDIBinding">
  |   |        <jndibinding xmlns="urn:jboss:naming:1.0" binding="java:/MyDataSource" bean="SomeDataSource"/>        
  |   | etc.
  |   | 
  | 

We probably need to make this error prone so we can remove
the bean="SomeDataSoure" and allow it depend on the parent.

Something like:

  | <bean name="java:/MyDataSource" whenRequired="constructed">
  |    <factory><inject bean="JNDIBindingFactory"/></factory>
  |    <depends><parent/></depends>
  | </bean>
  | 


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

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



More information about the jboss-dev-forums mailing list