public class

SerializableBlobProxy

extends Object
implements Serializable InvocationHandler
java.lang.Object
   ↳ org.hibernate.engine.jdbc.SerializableBlobProxy

Class Overview

Manages aspects of proxying Blob Blobs to add serializability.

Summary

Public Methods
static Blob generateProxy(Blob blob)
Generates a SerializableBlob proxy wrapping the provided Blob object.
static ClassLoader getProxyClassLoader()
Determines the appropriate class loader to which the generated proxy should be scoped.
Blob getWrappedBlob()
Object invoke(Object proxy, Method method, Object[] args)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.reflect.InvocationHandler

Public Methods

public static Blob generateProxy (Blob blob)

Generates a SerializableBlob proxy wrapping the provided Blob object.

Parameters
blob The Blob to wrap.
Returns
  • The generated proxy.

public static ClassLoader getProxyClassLoader ()

Determines the appropriate class loader to which the generated proxy should be scoped.

Returns
  • The class loader appropriate for proxy construction.

public Blob getWrappedBlob ()

public Object invoke (Object proxy, Method method, Object[] args)

Throws
Throwable