to.etc.domui.injector
Class PropertyInjector

java.lang.Object
  extended by to.etc.domui.injector.PropertyInjector
Direct Known Subclasses:
UrlEntityInjector, UrlParameterInjector

public abstract class PropertyInjector
extends java.lang.Object

Base for injecting something into a property.


Constructor Summary
PropertyInjector(java.lang.reflect.Method propertySetter)
           
 
Method Summary
protected  java.lang.reflect.Method getPropertySetter()
           
abstract  void inject(UrlPage page, RequestContextImpl ctx, PageParameters pp)
           
protected  void setValue(java.lang.Object instance, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyInjector

public PropertyInjector(java.lang.reflect.Method propertySetter)
Method Detail

getPropertySetter

protected java.lang.reflect.Method getPropertySetter()

setValue

protected void setValue(java.lang.Object instance,
                        java.lang.Object value)

inject

public abstract void inject(UrlPage page,
                            RequestContextImpl ctx,
                            PageParameters pp)
                     throws java.lang.Exception
Throws:
java.lang.Exception