T - The type of the ClientInterfaceHandlerFactory.public class SimpleHandlerResolver<T>
extends java.lang.Object
This implementation will use the remote version to decide whether to resolve a client interface handler factory. If only the minor version differs a warning is issued, if a major version differs the handler is not resolved.
| Constructor and Description |
|---|
SimpleHandlerResolver(java.lang.String className,
HandlerVersion version)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName()
Get the name of the
ClientInterfaceHandlerFactory. |
HandlerVersion |
getRemoteVersion()
Get the server version of this .
|
ClientInterfaceHandlerFactory<T> |
resolve(ClassResolver classResolver) |
public SimpleHandlerResolver(java.lang.String className,
HandlerVersion version)
className - The name of the ClientInterfaceHandlerFactory.version - The version. The remote version. This is set
by the server before this class comes across the wire.public java.lang.String getClassName()
ClientInterfaceHandlerFactory.public HandlerVersion getRemoteVersion()
public ClientInterfaceHandlerFactory<T> resolve(ClassResolver classResolver)