naming/src/main/java/org/jboss/as/naming/InMemoryNamingStore.java
public List<Binding> listBindings(final Name name) throws NamingException {
        final Name nodeName = name.isEmpty() ? new CompositeName("") : name;
        return root.accept(new ListBindingsVisitor(nodeName));
    }
public List<Binding> listBindings(final Name name) throws NamingException {
        final Name nodeName = name.isEmpty() ? new CompositeName("") : name;
        return root.accept(new ListBindingsVisitor(nodeName));
    }
List all the Binding instances at a given location in the tree.

@param name The entry name
@return The Binding instances
@throws NamingException