private void configurePath(Path beansPath) throws IOException
{
if (beansPath.canRead() && beansPath.getLength() > 0) {
// ioc/0041 - tck allows empty beans.xml
BeansConfig beans = new BeansConfig(_cdiManager, beansPath);
beansPath.setUserPath(beansPath.getURL());
new Config().configure(beans, beansPath, SCHEMA);
_pendingBeans.add(beans);