Annotation Type ArrayModified

public @interface ArrayModified

Indicates that the marked method should be called when an Array is modified. NOTE: This is event not currently implemented yet

The method can have any name, but should take a single parameter which is either a ArrayModifiedEvent or any superclass. Otherwise an IllegalArgumentException will be thrown by PojoCache.addListener(java.lang.Object)


    public class MyListener()
       public void handleArray(ArrayModifiedEvent event)
          System.out.println("Object = " + even.getSource());

Jason T. Greene

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