|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.marshal.MarshalFactory
This class will provide marshallers and unmarshallers for data based on the data type want to marshal to. The most common will be just to serialize the data. However, may have jaxrpc, IIOP, serializers. Can also have marshallers and unmarshallers based on class type. For example, might be marshaller/unmarshaller for the Transaction class.
Field Summary | |
protected static Logger (src) |
log
|
Constructor Summary | |
MarshalFactory()
|
Method Summary | |
static void |
addMarshaller(java.lang.Class classType,
Marshaller (src) marshaller,
UnMarshaller (src) unMarshaller)
Will add the marshaller and unmarshaller based on class type. |
static void |
addMarshaller(java.lang.String dataType,
Marshaller (src) marshaller,
UnMarshaller (src) unMarshaller)
Adds the marshaller and unmarshaller based on data type. |
static Marshaller (src) |
getMarshaller(java.lang.Class classType)
Looks up marshaller by class type. |
static Marshaller (src) |
getMarshaller(InvokerLocator (src) locator,
java.lang.ClassLoader classLoader)
Will try to look up marshaller by first looking for data type parameter within locator and then using that to look up marhsaller locally. |
static Marshaller (src) |
getMarshaller(java.lang.String dataType)
Gets marshaller based on data type (i.e. |
static UnMarshaller (src) |
getUnMarshaller(java.lang.Class classType)
Returns unmarshaller by class type. |
static UnMarshaller (src) |
getUnMarshaller(InvokerLocator (src) locator,
java.lang.ClassLoader classLoader)
Will try to look up unmarshaller by first looking for data type parameter within locator and then using that to look up unmarshaller locally. |
static UnMarshaller (src) |
getUnMarshaller(java.lang.String dataType)
Gets the marshaller based on data type (i.e. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final Logger (src) log
Constructor Detail |
public MarshalFactory()
Method Detail |
public static void addMarshaller(java.lang.Class classType, Marshaller (src) marshaller, UnMarshaller (src) unMarshaller)
classType
- marshaller
- unMarshaller
- public static void addMarshaller(java.lang.String dataType, Marshaller (src) marshaller, UnMarshaller (src) unMarshaller)
dataType
- marshaller
- unMarshaller
- public static Marshaller (src) getMarshaller(java.lang.Class classType)
classType
-
public static UnMarshaller (src) getUnMarshaller(java.lang.Class classType)
classType
-
public static Marshaller (src) getMarshaller(java.lang.String dataType)
dataType
-
public static UnMarshaller (src) getUnMarshaller(java.lang.String dataType)
dataType
-
public static Marshaller (src) getMarshaller(InvokerLocator (src) locator, java.lang.ClassLoader classLoader)
locator
- classLoader
-
public static UnMarshaller (src) getUnMarshaller(InvokerLocator (src) locator, java.lang.ClassLoader classLoader)
locator
- classLoader
-
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |