/** * Creates and returns a {@link org.jboss.marshalling.Unmarshaller} which is ready to be used for unmarshalling. The * {@link org.jboss.marshalling.Unmarshaller#start(org.jboss.marshalling.ByteInput)} will be invoked by this method, to use * the passed {@link java.io.DataInput dataInput}, before returning the unmarshaller. * * This unmarshaller will use the context class loader to resolve any classes. * * @param dataInput The data input from which to unmarshall * @return * @throws IOException */ protected Unmarshaller prepareForUnMarshalling(final DataInput dataInput) throws IOException { return prepareForUnMarshalling(dataInput, DefaultClassResolver.INSTANCE); }
/** * Creates and returns a {@link org.jboss.marshalling.Unmarshaller} which is ready to be used for unmarshalling. The * {@link org.jboss.marshalling.Unmarshaller#start(org.jboss.marshalling.ByteInput)} will be invoked by this method, to use * the passed {@link java.io.DataInput dataInput}, before returning the unmarshaller. * * This unmarshaller will use the context class loader to resolve any classes. * * @param dataInput The data input from which to unmarshall * @return * @throws IOException */ protected Unmarshaller prepareForUnMarshalling(final DataInput dataInput) throws IOException { return prepareForUnMarshalling(dataInput, DefaultClassResolver.INSTANCE); }
/** * Creates and returns a {@link org.jboss.marshalling.Unmarshaller} which is ready to be used for unmarshalling. The * {@link org.jboss.marshalling.Unmarshaller#start(org.jboss.marshalling.ByteInput)} will be invoked by this method, to use * the passed {@link java.io.DataInput dataInput}, before returning the unmarshaller. * * This unmarshaller will use the context class loader to resolve any classes. * * @param dataInput The data input from which to unmarshall * @return * @throws IOException */ protected Unmarshaller prepareForUnMarshalling(final DataInput dataInput) throws IOException { return prepareForUnMarshalling(dataInput, DefaultClassResolver.INSTANCE); }