org.hibernate.engine.jdbc
Class SerializableNClobProxy

java.lang.Object
  extended by org.hibernate.engine.jdbc.SerializableClobProxy
      extended by org.hibernate.engine.jdbc.SerializableNClobProxy
All Implemented Interfaces:
Serializable, InvocationHandler

public class SerializableNClobProxy
extends SerializableClobProxy

Manages aspects of proxying java.sql.NClobs to add serializability.

See Also:
Serialized Form

Constructor Summary
protected SerializableNClobProxy(Clob clob)
          Builds a serializable Clob wrapper around the given Clob.
 
Method Summary
static NClob generateProxy(NClob nclob)
          Generates a SerializableNClobProxy proxy wrapping the provided NClob object.
static ClassLoader getProxyClassLoader()
          Determines the appropriate class loader to which the generated proxy should be scoped.
static boolean isNClob(Clob clob)
           
 
Methods inherited from class org.hibernate.engine.jdbc.SerializableClobProxy
generateProxy, getWrappedClob, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableNClobProxy

protected SerializableNClobProxy(Clob clob)
Builds a serializable Clob wrapper around the given Clob.

Parameters:
clob - The Clob to be wrapped.
See Also:
SerializableClobProxy.generateProxy(java.sql.Clob)
Method Detail

isNClob

public static boolean isNClob(Clob clob)

generateProxy

public static NClob generateProxy(NClob nclob)
Generates a SerializableNClobProxy proxy wrapping the provided NClob object.

Parameters:
nclob - The NClob to wrap.
Returns:
The generated proxy.

getProxyClassLoader

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.


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.