com.googlecode.mobilityrpc.protocol.converters
Class MessageConverterRegistry

java.lang.Object
  extended by com.googlecode.mobilityrpc.protocol.converters.MessageConverterRegistry

public class MessageConverterRegistry
extends Object

Given the class of a Java (POJO) object which represents a message, returns the relevant MessageConverter which can convert instances of that class to/from protobuf.

Author:
Niall Gallagher

Constructor Summary
MessageConverterRegistry()
           
 
Method Summary
<T> MessageConverter<T>
getConverter(Class<T> messageClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageConverterRegistry

public MessageConverterRegistry()
Method Detail

getConverter

public <T> MessageConverter<T> getConverter(Class<T> messageClass)


Copyright © 2012. All Rights Reserved.