org.jboss.cache.aop.references
Class MethodPersistentReference

java.lang.Object
  extended by org.jboss.cache.aop.references.PersistentReference
      extended by org.jboss.cache.aop.references.ArgumentPersistentReference
          extended by org.jboss.cache.aop.references.MethodPersistentReference

public class MethodPersistentReference
extends ArgumentPersistentReference

A reference to a field. In case the reference is released, the reference will be reconstructed


Field Summary
 
Fields inherited from class org.jboss.cache.aop.references.PersistentReference
REFERENCE_SOFT, REFERENCE_WEAK
 
Constructor Summary
MethodPersistentReference(java.lang.reflect.Method method, int referenceType)
           
 
Method Summary
 java.lang.reflect.Method getMethod()
           
 java.lang.Object rebuildReference()
           
 
Methods inherited from class org.jboss.cache.aop.references.ArgumentPersistentReference
getArguments, setArguments
 
Methods inherited from class org.jboss.cache.aop.references.PersistentReference
buildReference, get, getMappedClass, internalGet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodPersistentReference

public MethodPersistentReference(java.lang.reflect.Method method,
                                 int referenceType)
Method Detail

rebuildReference

public java.lang.Object rebuildReference()
                                  throws java.lang.Exception
Specified by:
rebuildReference in class PersistentReference
Throws:
java.lang.Exception

getMethod

public java.lang.reflect.Method getMethod()


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.