/**
* Initialises a new instance of this class by registering the default object factories.
*/
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();