class DefaultBindingNamingEnumeration implements NamingEnumeration<Binding> {

    private void checkClosed() throws NamingException {
        if (list == null) {
            throw new NamingException("Cannot call any method on a closed NamingEnumeration");
        }
    }

    public  DefaultBindingNamingEnumeration(List<Binding> list);

}