public Object remove(final String name) {
            final ScopedBeanReference ref = this.references.remove(name);
            if (ref == null) {
                return null;
            } else {
                return ref.getBeanIfExists();
            }
        }
Removes the bean with the given name from this scope.

@param name The name of the bean to remove.
@return The bean instances that was removed from the scope or null, if it wasn't present.
grpc-server-spring-boot-starter/src/main/java/net/devh/boot/grpc/server/scope/GrpcRequestScope.java