org.jboss.aop.array
Class ArrayRegistry

java.lang.Object
  extended by org.jboss.aop.array.ArrayRegistry

public class ArrayRegistry
extends Object

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Method Summary
 void addElementReference(Object owner, int index, Object array)
           
 void addFieldReference(Object owner, String fieldName, Object array)
           
 void addReference(Object owner, Object qualifier, Object array, org.jboss.aop.array.ArrayRegistry.ArrayRegistryEntryFactory factory)
           
 List<ArrayReference> getArrayOwners(Object array)
           
static ArrayRegistry getInstance()
           
 boolean isRegistered(Object array)
           
 void removeElementReference(Object owner, int index, Object array)
           
 void removeFieldReference(Object owner, String fieldName, Object array)
           
 void removeReference(Object owner, Object qualifier, Object array)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ArrayRegistry getInstance()

addFieldReference

public void addFieldReference(Object owner,
                              String fieldName,
                              Object array)

addElementReference

public void addElementReference(Object owner,
                                int index,
                                Object array)

addReference

public void addReference(Object owner,
                         Object qualifier,
                         Object array,
                         org.jboss.aop.array.ArrayRegistry.ArrayRegistryEntryFactory factory)

removeFieldReference

public void removeFieldReference(Object owner,
                                 String fieldName,
                                 Object array)

removeElementReference

public void removeElementReference(Object owner,
                                   int index,
                                   Object array)

removeReference

public void removeReference(Object owner,
                            Object qualifier,
                            Object array)

isRegistered

public boolean isRegistered(Object array)

getArrayOwners

public List<ArrayReference> getArrayOwners(Object array)


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.