171172173174175176177178179180181
{ // Deserializes the bean instance. ObjectInputStream ois = (cl == null) ? new ObjectInputStream(beanLocation.openStream()) : new ClassLoaderObjectInputStream( beanLocation.openStream(), cl); bean = ois.readObject();