|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ObjectStreamFactory
Provides the means to create ObjectInput and ObjectOutput streams based on primitive data streams in a layered, pluggable fashion.
| Method Summary | |
|---|---|
ObjectInput |
getObjectInput(DataInput in, ClassLoader loader, boolean fForceNew)Obtain an ObjectInput based on the passed DataInput. |
ObjectOutput |
getObjectOutput(DataOutput out)Obtain an ObjectOutput based on the passed DataOutput. |
| Method Detail |
|---|
ObjectInput getObjectInput(DataInput in,
ClassLoader loader,
boolean fForceNew)
throws IOException
in - the DataInput to be wrappedloader - the ClassLoader to be usedfForceNew - if true, a new ObjectInput must be returned; otherwise, if the passed stream is already an ObjectInput, it's allowed to be returned insteadIOException - if an I/O exception occurs
ObjectOutput getObjectOutput(DataOutput out)
throws IOException
out - the DataOutput to be wrappedIOException - if an I/O exception occurs
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||