protected void bindRepository()

in src/main/java/org/apache/sling/jcr/registration/AbstractRegistrationSupport.java [266:281]


    protected void bindRepository(ServiceReference reference) {
        String name = this.getName(reference);

        if (name != null) {
            synchronized (this.registryLock) {
                if (this.componentContext == null) {
                    // no context to register with, delay ??
                    this.repositoryRegistrationBacklog.put(name, reference);
                } else {
                    this.bindRepositoryInternal(name, reference);
                }
            }
        } else {
            logger.info("Service {} has no name property, not registering", reference.getProperty(Constants.SERVICE_ID));
        }
    }