FileDocCategorySizeDatePackage
VersionReference.javaAPI DocJBoss 4.2.11949Fri Jul 13 21:02:32 BST 2007org.jboss.aspects.versioned

VersionReference

public class VersionReference extends Object implements Serializable

Fields Summary
private static final long
serialVersionUID
private org.jboss.util.id.GUID
guid
private transient WeakReference
advisedRef
Constructors Summary
public VersionReference()


     
public VersionReference(org.jboss.util.id.GUID guid)

      this(guid, null);
   
public VersionReference(org.jboss.util.id.GUID guid, org.jboss.aop.InstanceAdvised obj)

      System.out.println("VERSION REFERENCE CREATION: " + guid);
      this.guid = guid;
      set(obj);
   
Methods Summary
public org.jboss.aop.InstanceAdvisedget()

      if (advisedRef != null)
      {
         return (InstanceAdvised)advisedRef.get();
      }
      return null;
   
public org.jboss.util.id.GUIDgetGUID()

 return guid; 
public voidset(org.jboss.aop.InstanceAdvised obj)

 this.advisedRef = new WeakReference(obj);