in src/main/java/org/apache/sling/jcr/registration/impl/JndiRegistrationSupport.java [166:175]
protected void unbindRepository(String name, Object data) {
if (this.jndiContext != null) {
try {
this.jndiContext.unbind(name);
logger.info("Repository {} unbound from JNDI", name);
} catch (NamingException ne) {
logger.error("Problem unregistering repository {}", name, ne);
}
}
}