Package org.hibernate.engine.jdbc.proxy
Class SerializableBlobProxy
java.lang.Object
org.hibernate.engine.jdbc.proxy.SerializableBlobProxy
- All Implemented Interfaces:
Serializable
,InvocationHandler
@Internal
public class SerializableBlobProxy
extends Object
implements InvocationHandler, Serializable
Manages aspects of proxying
Blob
s to add serializability.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Blob
generateProxy
(Blob blob) Generates a SerializableBlob proxy wrapping the provided Blob object.static ClassLoader
Determines the appropriate class loader to which the generated proxy should be scoped.Access to the wrapped Blob reference
-
Method Details
-
getWrappedBlob
Access to the wrapped Blob reference- Returns:
- The wrapped Blob reference
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
generateProxy
Generates a SerializableBlob proxy wrapping the provided Blob object.- Parameters:
blob
- The Blob to wrap.- Returns:
- The generated proxy.
-
getProxyClassLoader
Determines the appropriate class loader to which the generated proxy should be scoped.- Returns:
- The class loader appropriate for proxy construction.
-