Spring Framework CodebaseAwareObjectInputStream - 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 CodebaseAwareObjectInputStream class.

This code example shows how to use the following methods:
	 * @return the new ObjectInputStream instance to use 
	 * @throws IOException if creation of the ObjectInputStream failed 
	 * @see org.springframework.remoting.rmi.CodebaseAwareObjectInputStream 
	 */ 
	protected ObjectInputStream createObjectInputStream(InputStream is, String codebaseUrl) throws IOException {
		return new CodebaseAwareObjectInputStream(is, getBeanClassLoader(), codebaseUrl);
	} 
 
	/** 
	 * Perform the actual reading of an invocation object from the 
	 * given ObjectInputStream. 
	 * <p>The default implementation simply calls {@code readObject}. 
	 * Can be overridden for deserialization of a custom wrapper object rather 
	 * than the plain invocation, for example an encryption-aware holder. 
	 * @param ois the ObjectInputStream to read from 
	 * @return the RemoteInvocationResult object 
	 * @throws IOException if thrown by I/O methods 
	 * @throws ClassNotFoundException if the class name of a serialized object 
	 * couldn't get resolved 
	 * @see java.io.ObjectOutputStream#writeObject 
5
CodeRank
Connect your IDE to all the code out there  Get Codota for Java
This code example shows how to use the following methods:
	 * @return the new ObjectInputStream instance to use 
	 * @throws IOException if creation of the ObjectInputStream failed 
	 * @see org.springframework.remoting.rmi.CodebaseAwareObjectInputStream 
	 */ 
	protected ObjectInputStream createObjectInputStream(InputStream is, String codebaseUrl) throws IOException {
		return new CodebaseAwareObjectInputStream(is, this.beanClassLoader, codebaseUrl);
	} 
 
} 
4
CodeRank
Connect your IDE to all the code out there  Get Codota for Java