public class

SerializableClobProxy

extends Object
implements Serializable InvocationHandler
java.lang.Object
   ↳ org.hibernate.engine.jdbc.SerializableClobProxy
Known Direct Subclasses

Class Overview

Manages aspects of proxying Clob Clobs to add serializability.

Summary

Protected Constructors
SerializableClobProxy(Clob clob)
Builds a serializable Clob wrapper around the given Clob.
Public Methods
static Clob generateProxy(Clob clob)
Generates a SerializableClobProxy proxy wrapping the provided Clob object.
static ClassLoader getProxyClassLoader()
Determines the appropriate class loader to which the generated proxy should be scoped.
Clob getWrappedClob()
Object invoke(Object proxy, Method method, Object[] args)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.reflect.InvocationHandler

Protected Constructors

protected SerializableClobProxy (Clob clob)

Builds a serializable Clob wrapper around the given Clob.

Parameters
clob The Clob to be wrapped.

Public Methods

public static Clob generateProxy (Clob clob)

Generates a SerializableClobProxy proxy wrapping the provided Clob object.

Parameters
clob The Clob 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 Clob getWrappedClob ()

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

Throws
Throwable