// Create a proxy factory
ProxyFactory proxyFactory = ReallySmallRuntimeBuilder.createProxyFactory(registry, mapper, messageFactory);
// Create model factories
assemblyFactory = new RuntimeAssemblyFactory(mapper, proxyFactory);
factories.addFactory(assemblyFactory);
PolicyFactory policyFactory = new DefaultPolicyFactory();
factories.addFactory(policyFactory);
SCABindingFactory scaBindingFactory = new DefaultSCABindingFactory();
factories.addFactory(scaBindingFactory);