Package cz.cuni.amis.introspection

Package class diagram package cz.cuni.amis.introspection
Introspection package uses Proxy design pattern paradigm.

See:
          Description

Class Summary
AbstractObjectFolder<T> This is wrapper class for introspectable objects.
Feature  
Folder Interface for introspection of internal properties of object.
FolderShadow Used for caching state and changes on a folder.
FolderUnion Union of properties and children of two introspectable proxies.
Property Interface for property models.
PropertyShadow Used for caching value of given property.
ScriptFolder Interface for all IntrospectableProxies of ScriptEngines
ScriptProxyFactory Factory class for ScriptProxy objects.
ScriptProxyManager SPI manager for getting ScriptProxies for ScriptEngines.
ScriptProxyManager.EmptyFolder Introspection proxy doing nothing.
 

Exception Summary
IntrospectionException  
 

Package cz.cuni.amis.introspection Description

Introspection package uses Proxy design pattern paradigm. If you want to introspect internal properties of some object follow these instructions.

  1. Our object has to implement Introspectable interface. Ths interface has only one method returning Folder representing this object.
  2. Implement our own subclass of Property interface, example of property using Java Reflection is JavaProperty.
  3. Implement Folder interface (DefaultFolder is recommnded option). Example of such implementation is JavaReflectionProxy
If you want to supply custom property editor then implement stadart java.beans.PropertyEditor (or preferably java.beans.PropertyEditorSupport) and register it through java.beans.PropertyEditorManager. Each type of property can have multiple editors, user can choose among them.



Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.