@Override
    public <ReqT, RespT> Listener<ReqT> interceptCall(ServerCall<ReqT, RespT> call, Metadata headers,
            ServerCallHandler<ReqT, RespT> next) {
        ScopedBeansContainer container = new ScopedBeansContainer();
        Context context = Context.current().withValue(GRPC_REQUEST_KEY, container);
        context.addListener(this, MoreExecutors.directExecutor());
        return Contexts.interceptCall(context, call, headers, next);
    }
The scope for beans that have their lifecycle bound to the grpc {@link Context}.

<p>
<b>Note:</b> If you write the {@link Bean @Bean} definition of this class, you must use the {@code static} keyword.
</p>

@author Daniel Theuke (daniel.theuke@heuboe.de)
grpc-server-spring-boot-starter/src/main/java/net/devh/boot/grpc/server/scope/GrpcRequestScope.java