org.oddjob.arooa.runtime
Class AutoSetter

java.lang.Object
  extended by org.oddjob.arooa.runtime.AutoSetter

public class AutoSetter
extends Object

Automatically sets services on bean instances. A single instance of this class will be used to set properties on a single bean instance.

Author:
rob

Constructor Summary
AutoSetter()
           
 
Method Summary
 void markAsSet(String propertyName)
          Allows a property to be marked as already set.
 void setServices(ArooaContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoSetter

public AutoSetter()
Method Detail

markAsSet

public void markAsSet(String propertyName)
Allows a property to be marked as already set. This allows configuration to override the auto setting.

Parameters:
propertyName -

setServices

public void setServices(ArooaContext context)
                 throws ArooaPropertyException
Throws:
ArooaPropertyException