类 SerializableBlobProxy
- java.lang.Object
-
- org.hibernate.engine.jdbc.SerializableBlobProxy
-
- 所有已实现的接口:
Serializable,InvocationHandler
public class SerializableBlobProxy extends Object implements InvocationHandler, Serializable
Manages aspects of proxyingBlobsto add serializability.- 作者:
- Gavin King, Steve Ebersole, Gail Badner
- 另请参阅:
- 序列化表格
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static BlobgenerateProxy(Blob blob)Generates a SerializableBlob proxy wrapping the provided Blob object.static ClassLoadergetProxyClassLoader()Determines the appropriate class loader to which the generated proxy should be scoped.BlobgetWrappedBlob()Access to the wrapped Blob referenceObjectinvoke(Object proxy, Method method, Object[] args)
-
-
-
方法详细资料
-
getWrappedBlob
public Blob getWrappedBlob()
Access to the wrapped Blob reference- 返回:
- The wrapped Blob reference
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- 指定者:
invoke在接口中InvocationHandler- 抛出:
Throwable
-
generateProxy
public static Blob generateProxy(Blob blob)
Generates a SerializableBlob proxy wrapping the provided Blob object.- 参数:
blob- The Blob to wrap.- 返回:
- The generated proxy.
-
getProxyClassLoader
public static ClassLoader getProxyClassLoader()
Determines the appropriate class loader to which the generated proxy should be scoped.- 返回:
- The class loader appropriate for proxy construction.
-
-