stateFactoryRegistry = registries.getStateFactoryRegistry();
stateFactoryRegistry.register( stateFactory );
break;
case( ProducerTypeEnum.OBJECT_FACTORY_PRODUCER_VAL ):
ServerDirObjectFactory objectFactory = ( ServerDirObjectFactory ) schemaObject;
ObjectFactoryRegistry objectFactoryRegistry;
objectFactoryRegistry = registries.getObjectFactoryRegistry();
objectFactoryRegistry.register( objectFactory );
break;
default:
throw new IllegalStateException( "ProducerTypeEnum is broke!" );
}
}