ModelFactoryExtensionPoint factories = registry.getExtensionPoint(ModelFactoryExtensionPoint.class);
AssemblyFactory assemblyFactory = factories.getFactory(AssemblyFactory.class);
PolicyFactory policyFactory = factories.getFactory(PolicyFactory.class);
MessageFactory messageFactory = factories.getFactory(MessageFactory.class);
ProxyFactoryExtensionPoint proxyFactory = registry.getExtensionPoint(ProxyFactoryExtensionPoint.class);
proxyFactory.setClassProxyFactory(new CglibProxyFactory(messageFactory, proxyFactory
.getInterfaceContractMapper()));
JavaInterfaceFactory javaFactory = factories.getFactory(JavaInterfaceFactory.class);
JavaImplementationFactory javaImplementationFactory = factories.getFactory(JavaImplementationFactory.class);