Package cz.o2.proxima.core.transaction
Interface TransactionSerializerSchemeProvider
-
- All Superinterfaces:
java.io.Serializable
public interface TransactionSerializerSchemeProvider extends java.io.Serializable
A provider of schemes forRequest
,Response
andState
. The provided scheme strings has to be subsequently recognized byValueSerializerFactory
and provide expected serialization.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCommitScheme()
Retrieve scheme for serialization ofCommit
java.lang.String
getRequestScheme()
Retrieve scheme for serialization ofRequest
java.lang.String
getResponseScheme()
Retrieve scheme for serialization ofRequest
java.lang.String
getStateScheme()
Retrieve scheme for serialization ofRequest
static TransactionSerializerSchemeProvider
of(java.lang.String requestScheme, java.lang.String responseScheme, java.lang.String stateScheme, java.lang.String commitScheme)
-
-
-
Method Detail
-
of
static TransactionSerializerSchemeProvider of(java.lang.String requestScheme, java.lang.String responseScheme, java.lang.String stateScheme, java.lang.String commitScheme)
-
getRequestScheme
java.lang.String getRequestScheme()
Retrieve scheme for serialization ofRequest
- Returns:
- the string scheme representing
Request
serialization.
-
getResponseScheme
java.lang.String getResponseScheme()
Retrieve scheme for serialization ofRequest
- Returns:
- the string scheme representing
Request
serialization.
-
getStateScheme
java.lang.String getStateScheme()
Retrieve scheme for serialization ofRequest
- Returns:
- the string scheme representing
Request
serialization.
-
-