コード例 #1
0
  @Override
  public T deserialize(final JsonParser jp, final DeserializationContext ctxt)
      throws IOException, JsonProcessingException {

    client = (ODataClient) ctxt.findInjectableValue(ODataClient.class.getName(), null, null);
    return doDeserialize(jp, ctxt);
  }
コード例 #2
0
 public void inject(SettableBeanProperty[] injectableProperties) {
   for (int i = 0, len = injectableProperties.length; i < len; ++i) {
     SettableBeanProperty prop = injectableProperties[i];
     if (prop != null) {
       // null since there is no POJO yet
       _creatorParameters[i] =
           _context.findInjectableValue(prop.getInjectableValueId(), prop, null);
     }
   }
 }