org.pfsw.joi.inspectors
Class DynamicProxySpy

java.lang.Object
  extended by org.pfsw.joi.Spy
      extended by org.pfsw.joi.AbstractObjectSpy
          extended by org.pfsw.joi.inspectors.DynamicProxySpy

public class DynamicProxySpy
extends AbstractObjectSpy

Provides all methods with no arguments that are supported by a dynamic proxy.


Field Summary
 
Fields inherited from class org.pfsw.joi.Spy
PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, RENDERER_MAPPING_FILENAME, RENDERER_MAPPING_FILENAME_ALL, RENDERER_MAPPING_FILENAME_CLASSLOADER
 
Constructor Summary
DynamicProxySpy(java.lang.Object obj)
          Initialize the new instance with default values.
 
Method Summary
protected  void addAllElements()
           
protected  boolean canBeSorted()
          Returns whether or not the elements of the underlying object can be sorted.
protected  java.lang.reflect.Method[] collectMethods()
           
 
Methods inherited from class org.pfsw.joi.AbstractObjectSpy
allowsElementModification, createNewElementList, getElementFilter, getElementHolders, getElementNamed, getElements, getFullElementCount, getModifiers, getName, getObject, getType, getValue, initializeElements, setElementFilter, setElementHolders, setElementValue, setName, setObject, sortElements
 
Methods inherited from class org.pfsw.joi.Spy
getRendererRegistry, getTypeString, getTypeStringOf, getValueComponent, getValueString, getValueTypeString, invokeInspectString, is_boolean, is_byte, is_char, is_double, is_float, is_int, is_long, is_short, isEditable, isElementSpy, isPrimitive, objectAsComponent, objectAsString, rendererFor, setRendererRegistry, setValue, valueIsNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicProxySpy

public DynamicProxySpy(java.lang.Object obj)
Initialize the new instance with default values.

Method Detail

addAllElements

protected void addAllElements()
                       throws java.lang.SecurityException
Specified by:
addAllElements in class AbstractObjectSpy
Throws:
java.lang.SecurityException

collectMethods

protected java.lang.reflect.Method[] collectMethods()

canBeSorted

protected boolean canBeSorted()
Returns whether or not the elements of the underlying object can be sorted.

Overrides:
canBeSorted in class AbstractObjectSpy