package JSON::RPC::Dispatcher::ClassMapping;
use strict;
use warnings;
our $VERSION = '0.03';
use JSON::RPC::Dispatcher 0.0505;
use Moose;
use namespace::autoclean;
# XXX: Hack to relax "method" co
nstraint of J::R::D::P so that it accepts "."
{
package
JSON::RPC::Dispatcher::Procedure; # hide from PAUSE/indexers
use Moose;
__PACKAGE__->meta->make_mutable;
has method => (
is => 'r
immutable;
}
has 'rpc' => (
is => 'rw',
isa => 'Object',
default => sub { JSON::RPC::Dispatcher->new },
handles => [ 'to_app', 'register' ],
);
has 'dispatch' => (
is