Reviewers: louiscryan,
Message:
This adds support for per-request handlers: handlers registered by
Class will be created once per-request, handlers registered by instance
will (of course) just use that instance.
(I've also fixed unchecked coercion warnings)
Please review this at http://codereview.appspot.com/14116
Affected files:
M
java/common/src/main/java/org/apache/shindig/protocol/DefaultHandlerRegistry.java
M
java/common/src/test/java/org/apache/shindig/protocol/DefaultHandlerRegistryTest.java