[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: Persistence unit deployer

wolfc do-not-reply at jboss.com
Fri Jul 4 06:01:02 EDT 2008


3. I've added DataSourceDependencyResolver to the mix, which is an inversion of DependencyPolicy with the same goal: externalize the naming of a DataSource.
public interface DataSourceDependencyResolver
  | {
  |    /**
  |     * @param jndiName the jndiName of the DataSource
  |     * @return the bean name of the DataSource
  |     */
  |    String resolveDataSourceSupplier(String jndiName);
  | }

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

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



More information about the jboss-dev-forums mailing list