FileDocCategorySizeDatePackage
JBoss5DependencyPolicy.javaAPI DocJBoss 4.2.11838Fri Jul 13 20:53:48 BST 2007org.jboss.ejb3.deployers

JBoss5DependencyPolicy

public class JBoss5DependencyPolicy extends org.jboss.ejb3.MCDependencyPolicy
Comment
author
Bill Burke
version
$Revision: 44334 $

Fields Summary
Constructors Summary
Methods Summary
public voidaddDatasource(java.lang.String jndiName)

      String ds = jndiName;
      if (ds.startsWith("java:/"))
      {
         ds = ds.substring(6);

      }
      else if (ds.startsWith("java:"))
      {
         ds = ds.substring(5);
      }
      //tring onStr = "jboss.jca:name=" + ds + ",service=ManagedConnectionFactory";
      String onStr = "jboss.jca:name=" + ds + ",service=DataSourceBinding";
      dependencies.add(onStr);