Class MessageFactory
- java.lang.Object
-
- org.syncany.operations.daemon.messages.api.MessageFactory
-
- Direct Known Subclasses:
JsonMessageFactory
,XmlMessageFactory
public abstract class MessageFactory extends java.lang.Object
The message factory serializes and deserializes messages sent to or from the daemon via the REST/WS API.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.logging.Logger
logger
-
Constructor Summary
Constructors Constructor Description MessageFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static java.lang.Class<? extends Message>
getMessageClass(java.lang.String requestType)
-
-
-
Field Detail
-
logger
protected static final java.util.logging.Logger logger
-
-
Constructor Detail
-
MessageFactory
public MessageFactory()
-
-
Method Detail
-
getMessageClass
protected static java.lang.Class<? extends Message> getMessageClass(java.lang.String requestType) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-