String ds = jndiName; if (ds.startsWith("java:/")) { ds = ds.substring(6); } else if (ds.startsWith("java:")) { ds = ds.substring(5); } addDependency(ds);
dependencies.add(dependency);
HashSet<DemandMetaData> set = new HashSet<DemandMetaData>(); for (Object depends : dependencies) { set.add(new AbstractDemandMetaData(depends)); } return set;