From ea637101847710d354ed706fd3d793042d9496ee Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sun, 8 Jun 2008 12:05:27 +0000 Subject: [PATCH] --- system/TODO.txt | 9 +++++++++ .../org/wamblee/system/adapters/ObjectConfiguration.java | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/system/TODO.txt b/system/TODO.txt index dc53da0f..14020c35 100644 --- a/system/TODO.txt +++ b/system/TODO.txt @@ -1,3 +1,12 @@ +SetterConfiguration: +- setNonPublic(boolean aNonPublic): by default publicOnly = true +- add select(Class aType) to select a specific setter as an alternative + to the name based selection. +- add values(Class aType) method for selecting a setter. +- add add(Class aType) method for selecting a type. +- verify that superclass setters are also taken into account. + + opzoeken waar de provided interfaces van de scope gebruikt worden, als het goed is nog nergens. Scope moet een Component worden en publiceren van een diff --git a/system/general/src/main/java/org/wamblee/system/adapters/ObjectConfiguration.java b/system/general/src/main/java/org/wamblee/system/adapters/ObjectConfiguration.java index e6f647a0..22df0491 100644 --- a/system/general/src/main/java/org/wamblee/system/adapters/ObjectConfiguration.java +++ b/system/general/src/main/java/org/wamblee/system/adapters/ObjectConfiguration.java @@ -36,6 +36,12 @@ public class ObjectConfiguration { _setterConfig = new SetterConfiguration(aClass); } + /** + * Performs injection into an object of the configured class + * using information from the given scope. + * @param aScope Scope. + * @param aObject Object. + */ public void inject(Scope aScope, Object aObject) { _setterConfig.inject(aScope, aObject); } -- 2.31.1