public ObjectBinder()
{
factories= new HashMap<Object, ObjectFactory>();
factories.put(Class.class, new ClassObjectFactory());
factories.put(Object.class, new BeanObjectFactory());
factories.put(Collection.class, new ListObjectFactory());
factories.put(List.class, new ListObjectFactory());
factories.put(Set.class, new SetObjectFactory());
// factories.put( SortedSet.class, new SortedSetObjectFactory() );
factories.put(Map.class, new MapObjectFactory());
factories.put(Integer.class, new IntegerObjectFactory());
factories.put(int.class, new IntegerObjectFactory());