Type the marshaller and associated registry methods so that we don't have to

downcast every time we register an invocation service provider.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5201 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-06-29 12:36:21 +00:00
parent d9cdb5ae3b
commit 8d6635e8e0
8 changed files with 18 additions and 23 deletions
@@ -7,7 +7,7 @@ import $import;
/**
* Dispatches requests to the {@link ${name}Provider}.
*/
public class ${name}Dispatcher extends InvocationDispatcher
public class ${name}Dispatcher extends InvocationDispatcher<${name}Marshaller>
{
/**
* Creates a dispatcher that may be registered to dispatch invocation
@@ -19,7 +19,7 @@ public class ${name}Dispatcher extends InvocationDispatcher
}
@Override // documentation inherited
public InvocationMarshaller createMarshaller ()
public ${name}Marshaller createMarshaller ()
{
return new ${name}Marshaller();
}