1 |
| package org.jboss.cache.marshall; |
2 |
| |
3 |
| import java.io.IOException; |
4 |
| import java.io.InputStream; |
5 |
| import java.io.ObjectInputStream; |
6 |
| import java.io.ObjectOutputStream; |
7 |
| import java.io.OutputStream; |
8 |
| |
9 |
| |
10 |
| |
11 |
| |
12 |
| |
13 |
| |
14 |
| |
15 |
| |
16 |
| public interface ObjectStreamFactory |
17 |
| { |
18 |
| public ObjectOutputStream createObjectOutputStream(OutputStream out) throws IOException; |
19 |
| |
20 |
| public ObjectInputStream createObjectInputStream(byte[] bytes) throws IOException; |
21 |
| |
22 |
| public ObjectInputStream createObjectInputStream(InputStream in) throws IOException; |
23 |
| } |