Design pattern almost synonym to dependency injection, except that injected objects can be different for each class instance.
The difference between context and dependency injection lies in the temporal nature of the injected object.
A database connection relates to dependency injection, since all instances of a class will use the same connection.
A user session relates more to context injection, since every instance of a class will have different and temporal user session objects.
References:
http://www.oracle.com/technetwork/articles/java/cdi-javaee-bien-225152.html