From 1c6a20bfd00c3f727c261176820da3b5bf16d603 Mon Sep 17 00:00:00 2001 From: erik Date: Sun, 8 Jun 2008 12:05:27 +0000 Subject: [PATCH] --- trunk/system/TODO.txt | 9 +++++++++ .../org/wamblee/system/adapters/ObjectConfiguration.java | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/trunk/system/TODO.txt b/trunk/system/TODO.txt index dc53da0f..14020c35 100644 --- a/trunk/system/TODO.txt +++ b/trunk/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/trunk/system/general/src/main/java/org/wamblee/system/adapters/ObjectConfiguration.java b/trunk/system/general/src/main/java/org/wamblee/system/adapters/ObjectConfiguration.java index e6f647a0..22df0491 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/adapters/ObjectConfiguration.java +++ b/trunk/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