setterconfiguration now by default does not add all the setters.
[utils] / system / general / src / main / java / org / wamblee / system / adapters / DefaultContainer.java
index 7f630105ac32cba5641432af7ffd65eb813e7798..823b7c0d4951b53210c251292156db82e7cb8f87 100644 (file)
@@ -31,21 +31,11 @@ public class DefaultContainer extends Container {
         super.addComponent(aComponent);
         return this;
     }
-
-    public DefaultContainer addComponent(String aName, Class aClass) {
-        return addComponent(new ClassAdapter(aName, new ClassConfiguration(
-                aClass)));
-    }
     
     public DefaultContainer addComponent(String aName, ClassConfiguration aConfiguration) {
         return addComponent(new ClassAdapter(aName, aConfiguration));
     }
 
-    public DefaultContainer addComponent(String aName, Object aObject) {
-        return addComponent(new ObjectAdapter(aName, aObject, new ObjectConfiguration(
-                aObject.getClass())));
-    }
-    
     public DefaultContainer addComponent(String aName, Object aObject, ObjectConfiguration aConfiguration) {
         if ( !aConfiguration.appliesTo(aObject) ) { 
             throw new IllegalArgumentException("Configuration '" + aConfiguration + "' does nto applu to '"  +