Spring Framework ConfigurableObjectInputStream - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework ConfigurableObjectInputStream class.

This code example shows how to use the following methods:
	 * @see java.io.ObjectInputStream#ObjectInputStream(java.io.InputStream) 
	public CodebaseAwareObjectInputStream( 
			InputStream in, ClassLoader classLoader, boolean acceptProxyClasses) throws IOException { 
		super(in, classLoader, acceptProxyClasses); 
		this.codebaseUrl = null; 
	protected Class<?> resolveFallbackIfPossible(String className, ClassNotFoundException ex) 
			throws IOException, ClassNotFoundException { 
		// If codebaseUrl is set, try to load the class with the RMIClassLoader. 
		// Else, propagate the ClassNotFoundException. 
		if (this.codebaseUrl == null) { 
			throw ex; 
		return RMIClassLoader.loadClass(this.codebaseUrl, className);