private class DynamicClassLoaderMessage.AdvancedInputStreamFactory extends java.lang.Object implements SerializedData.InputStreamFactory
AdvancedObjectInputStream
bound to a given
class manager.Modifier and Type | Field and Description |
---|---|
private ClassManager |
cm
The class manager to associate with all created input streams.
|
Constructor and Description |
---|
AdvancedInputStreamFactory(ClassManager cm)
Constructs a new factory for the given class manager.
|
Modifier and Type | Method and Description |
---|---|
java.io.ObjectInput |
create(java.io.InputStream in)
Creates a new input stream.
|
private ClassManager cm
AdvancedInputStreamFactory(ClassManager cm)
cm
- class manager to associate will all created streams.public java.io.ObjectInput create(java.io.InputStream in) throws java.io.IOException
create
in interface SerializedData.InputStreamFactory
in
- the underlying input stream.java.io.IOException