org.jboss.aop.array
Class ArrayAdvisor

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

public class ArrayAdvisor
extends Object

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Constructor Summary
ArrayAdvisor()
           
 
Method Summary
static void addBinding(ArrayBinding arrayBinding)
           
static byte arrayReadByteOrBoolean(Object array, int index)
           
static char arrayReadChar(Object array, int index)
           
static double arrayReadDouble(Object array, int index)
           
static float arrayReadFloat(Object array, int index)
           
static int arrayReadInt(Object array, int index)
           
static long arrayReadLong(Object array, int index)
           
static Object arrayReadObject(Object array, int index)
           
static short arrayReadShort(Object array, int index)
           
static void arrayWriteByteOrBoolean(Object array, int index, byte value)
           
static void arrayWriteChar(Object array, int index, char value)
           
static void arrayWriteDouble(Object array, int index, double value)
           
static void arrayWriteFloat(Object array, int index, float value)
           
static void arrayWriteInt(Object array, int index, int value)
           
static void arrayWriteLong(Object array, int index, long value)
           
static void arrayWriteObject(Object array, int index, Object value)
           
static void arrayWriteShort(Object array, int index, short value)
           
static Interceptor[] getReadInterceptors()
           
static Interceptor[] getWriteInterceptors()
           
static void removeBinding(ArrayBinding arrayBinding)
           
static void updateArrayField(Object target, String fieldName, Object oldValue, Object newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayAdvisor

public ArrayAdvisor()
Method Detail

addBinding

public static void addBinding(ArrayBinding arrayBinding)

removeBinding

public static void removeBinding(ArrayBinding arrayBinding)

getReadInterceptors

public static Interceptor[] getReadInterceptors()

getWriteInterceptors

public static Interceptor[] getWriteInterceptors()

updateArrayField

public static void updateArrayField(Object target,
                                    String fieldName,
                                    Object oldValue,
                                    Object newValue)

arrayWriteObject

public static void arrayWriteObject(Object array,
                                    int index,
                                    Object value)
                             throws Throwable
Throws:
Throwable

arrayWriteInt

public static void arrayWriteInt(Object array,
                                 int index,
                                 int value)
                          throws Throwable
Throws:
Throwable

arrayWriteByteOrBoolean

public static void arrayWriteByteOrBoolean(Object array,
                                           int index,
                                           byte value)
                                    throws Throwable
Throws:
Throwable

arrayWriteChar

public static void arrayWriteChar(Object array,
                                  int index,
                                  char value)
                           throws Throwable
Throws:
Throwable

arrayWriteDouble

public static void arrayWriteDouble(Object array,
                                    int index,
                                    double value)
                             throws Throwable
Throws:
Throwable

arrayWriteShort

public static void arrayWriteShort(Object array,
                                   int index,
                                   short value)
                            throws Throwable
Throws:
Throwable

arrayWriteFloat

public static void arrayWriteFloat(Object array,
                                   int index,
                                   float value)
                            throws Throwable
Throws:
Throwable

arrayWriteLong

public static void arrayWriteLong(Object array,
                                  int index,
                                  long value)
                           throws Throwable
Throws:
Throwable

arrayReadObject

public static Object arrayReadObject(Object array,
                                     int index)
                              throws Throwable
Throws:
Throwable

arrayReadInt

public static int arrayReadInt(Object array,
                               int index)
                        throws Throwable
Throws:
Throwable

arrayReadByteOrBoolean

public static byte arrayReadByteOrBoolean(Object array,
                                          int index)
                                   throws Throwable
Throws:
Throwable

arrayReadChar

public static char arrayReadChar(Object array,
                                 int index)
                          throws Throwable
Throws:
Throwable

arrayReadDouble

public static double arrayReadDouble(Object array,
                                     int index)
                              throws Throwable
Throws:
Throwable

arrayReadFloat

public static float arrayReadFloat(Object array,
                                   int index)
                            throws Throwable
Throws:
Throwable

arrayReadLong

public static long arrayReadLong(Object array,
                                 int index)
                          throws Throwable
Throws:
Throwable

arrayReadShort

public static short arrayReadShort(Object array,
                                   int index)
                            throws Throwable
Throws:
Throwable


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