/** * Create an ObjectInputStream for the given InputStream. * <p>The default implementation creates a Spring {@link CodebaseAwareObjectInputStream}. * @param is the InputStream to read from * @return the new ObjectInputStream instance to use * @throws java.io.IOException if creation of the ObjectInputStream failed */ protected ObjectInputStream createObjectInputStream(InputStream is) throws IOException { return new CodebaseAwareObjectInputStream(is, getBeanClassLoader(), isAcceptProxyClasses()); }
/** * Create an ObjectInputStream for the given InputStream. * <p>The default implementation creates a Spring {@link CodebaseAwareObjectInputStream}. * @param is the InputStream to read from * @return the new ObjectInputStream instance to use * @throws java.io.IOException if creation of the ObjectInputStream failed */ protected ObjectInputStream createObjectInputStream(InputStream is) throws IOException { return new CodebaseAwareObjectInputStream(is, getBeanClassLoader(), isAcceptProxyClasses()); }
/** * Create an ObjectInputStream for the given InputStream. * <p>The default implementation creates a Spring {@link CodebaseAwareObjectInputStream}. * @param is the InputStream to read from * @return the new ObjectInputStream instance to use * @throws java.io.IOException if creation of the ObjectInputStream failed */ protected ObjectInputStream createObjectInputStream(InputStream is) throws IOException { return new CodebaseAwareObjectInputStream(is, getBeanClassLoader(), isAcceptProxyClasses()); }