Class DynamicClassLoaderMessage.AdvancedInputStreamFactory

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ClassManager cm
      The class manager to associate with all created input streams.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.ObjectInput create​(java.io.InputStream in)
      Creates a new input stream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • cm

        private ClassManager cm
        The class manager to associate with all created input streams.
    • Constructor Detail

      • AdvancedInputStreamFactory

        AdvancedInputStreamFactory​(ClassManager cm)
        Constructs a new factory for the given class manager. All streams created by this factory will be associated with this class manager.
        Parameters:
        cm - class manager to associate will all created streams.
    • Method Detail

      • create

        public java.io.ObjectInput create​(java.io.InputStream in)
                                   throws java.io.IOException
        Creates a new input stream.
        Specified by:
        create in interface SerializedData.InputStreamFactory
        Parameters:
        in - the underlying input stream.
        Throws:
        java.io.IOException