Allow the injected context proxy to use context resolvers

git-svn-id: https://svn.apache.org/repos/asf/incubator/wink/trunk@1328805 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/wink-common/src/main/java/org/apache/wink/common/internal/registry/ContextAccessor.java b/wink-common/src/main/java/org/apache/wink/common/internal/registry/ContextAccessor.java
index 4c57d0d..48b03a5 100644
--- a/wink-common/src/main/java/org/apache/wink/common/internal/registry/ContextAccessor.java
+++ b/wink-common/src/main/java/org/apache/wink/common/internal/registry/ContextAccessor.java
@@ -107,8 +107,8 @@
                                               }
                                               // get the real context from the
                                               // RuntimeContext
-                                              Object context =
-                                                  runtimeContext.getAttribute(contextClass);
+                                              // We need to call getContext() instead of getContextFromAccessor() as some context will be created from the context resolvers
+                                              Object context = getContext(contextClass, runtimeContext);
                                               // invoke the method on the real
                                               // context
                                               return method.invoke(context, args);