// Internal Helper Methods ------------------------------------------------------||
// ------------------------------------------------------------------------------||
protected StatelessProxyInvocationHandlerBase getInvocationHandler(Object proxy)
{
InvocationHandler handler = Proxy.getInvocationHandler(proxy);
assert handler instanceof StatelessProxyInvocationHandlerBase : "Expected "
+ InvocationHandler.class.getSimpleName() + " of type "
+ StatelessProxyInvocationHandlerBase.class.getName() + ", but instead was " + handler;
return (StatelessProxyInvocationHandlerBase) handler;
}