public ObjectFactoryRegistry()
{
ObjectFactory<Boolean> booleanFactory = new BooleanFactory();
objectFactories.put(booleanFactory.getBoundClass(),
booleanFactory);
ObjectFactory<Byte> byteFactory = new ByteFactory();
objectFactories.put(byteFactory.getBoundClass(),
byteFactory);
ObjectFactory<Character> characterFactory = new CharacterFactory();
objectFactories.put(characterFactory.getBoundClass(),
characterFactory);
ObjectFactory<Double> doubleFactory = new DoubleFactory();