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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user