|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridgain.grid.marshaller.xstream.GridXstreamMarshaller
public class GridXstreamMarshaller
Marshaller that usese XStream
to marshal objects. This marshaller does not require objects to implement
Serializable.
See Also:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0
![]() |
![]() |
| Field Summary |
|---|
| Fields inherited from interface org.gridgain.grid.marshaller.GridMarshaller |
|---|
EXCLUDED_GRID_CLASSES |
| Constructor Summary | |
|---|---|
GridXstreamMarshaller()
Initializes XStream marshaller. |
|
| Method Summary | ||
|---|---|---|
void |
marshal(Object obj,
OutputStream out)
Marshals object to the output stream. |
|
String |
toString()
|
|
|
unmarshal(InputStream in,
ClassLoader clsLoader)
Unmarshals object from the output stream using given class loader. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GridXstreamMarshaller()
| Method Detail |
|---|
public void marshal(Object obj,
OutputStream out)
throws GridException
marshal in interface GridMarshallerGridException - If marshalling failed.obj - Object to marshal.out - Output stream to marshal into.
public <T> T unmarshal(InputStream in,
ClassLoader clsLoader)
throws GridException
unmarshal in interface GridMarshallerGridException - If unmarshalling failed.T - Type of unmarshalled object.in - Input stream.clsLoader - Class loader to use.
public String toString()
toString in class Object
|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|
|