ggeorgovassilis / spring-rest-invoker

Spring invoker which maps remote REST services to local interfaces.
Apache License 2.0
37 stars 19 forks source link

Add support for opaque proxies #14

Closed ggeorgovassilis closed 10 years ago

ggeorgovassilis commented 10 years ago

Add support for cglib (or similar) proxies that implement a concrete class rather than generating dynamic proxies. Goals:

  1. the invocation logic will be hard-wired into the generated class, avoiding costly, repetitive lookups on the method declarations
  2. circumvents issues with poorly designed code that expects annotations or interfaces on objects rather than walking the entire class hierarchy