|
jBPM distribution 6.0.0.CR5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectMarshallingStrategy
| Nested Class Summary | |
|---|---|
static interface |
ObjectMarshallingStrategy.Context
|
| Method Summary | |
|---|---|
boolean |
accept(Object object)
|
ObjectMarshallingStrategy.Context |
createContext()
Creates a new marshalling context |
byte[] |
marshal(ObjectMarshallingStrategy.Context context,
ObjectOutputStream os,
Object object)
This method is analogous to the write() method, but instead of writing the object into an output stream, it returns the marshalled object as a byte[]. |
Object |
read(ObjectInputStream os)
|
Object |
unmarshal(ObjectMarshallingStrategy.Context context,
ObjectInputStream is,
byte[] object,
ClassLoader classloader)
This method is analogous to the read method, but instead of reading it from an input stream, it reads it from a byte[] |
void |
write(ObjectOutputStream os,
Object object)
|
| Method Detail |
|---|
boolean accept(Object object)
void write(ObjectOutputStream os,
Object object)
throws IOException
IOException
Object read(ObjectInputStream os)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
byte[] marshal(ObjectMarshallingStrategy.Context context,
ObjectOutputStream os,
Object object)
throws IOException
context - the context for this strategy created by the method #createContext()object - the object to be marshalled
IOException
Object unmarshal(ObjectMarshallingStrategy.Context context,
ObjectInputStream is,
byte[] object,
ClassLoader classloader)
throws IOException,
ClassNotFoundException
context - the context for this strategy created by the method #createContext()object - the marshalled object in a byte[]
IOException
ClassNotFoundExceptionObjectMarshallingStrategy.Context createContext()
|
jBPM distribution 6.0.0.CR5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||