net.sf.jso.storage
Class JSOStorableProxy

java.lang.Object
  extended bynet.sf.jso.storage.JSOStorableProxy
All Implemented Interfaces:
net.sf.cglib.MethodInterceptor, StorableProxy

public class JSOStorableProxy
extends java.lang.Object
implements net.sf.cglib.MethodInterceptor, StorableProxy

Implementation of a storable object proxy.


Constructor Summary
JSOStorableProxy(OID anOid, java.lang.Class aClass, boolean isSummary, StorageManager aManager)
           
 
Method Summary
 boolean $jso$accessed()
          Indicates if proxy has been accessed through targer class' interface.
 java.lang.Class $jso$getTargetClass()
          Gets target class of the proxy.
 OID $jso$OID()
          Returns proxy's target object's OID.
 boolean $jso$wasSummary()
          Indicates if proxy's was targeted as summary.
 java.lang.Object intercept(java.lang.Object obj, java.lang.reflect.Method method, java.lang.Object[] args, net.sf.cglib.MethodProxy proxy)
          Intercepts calls to proxy's methods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSOStorableProxy

public JSOStorableProxy(OID anOid,
                        java.lang.Class aClass,
                        boolean isSummary,
                        StorageManager aManager)
Method Detail

intercept

public java.lang.Object intercept(java.lang.Object obj,
                                  java.lang.reflect.Method method,
                                  java.lang.Object[] args,
                                  net.sf.cglib.MethodProxy proxy)
                           throws java.lang.Throwable
Intercepts calls to proxy's methods.

Specified by:
intercept in interface net.sf.cglib.MethodInterceptor
Throws:
java.lang.Throwable

$jso$getTargetClass

public java.lang.Class $jso$getTargetClass()
Gets target class of the proxy.

Specified by:
$jso$getTargetClass in interface StorableProxy

$jso$accessed

public boolean $jso$accessed()
Indicates if proxy has been accessed through targer class' interface.

Specified by:
$jso$accessed in interface StorableProxy

$jso$OID

public OID $jso$OID()
Returns proxy's target object's OID.

Specified by:
$jso$OID in interface StorableProxy

$jso$wasSummary

public boolean $jso$wasSummary()
Indicates if proxy's was targeted as summary.

Specified by:
$jso$wasSummary in interface StorableProxy