// Create the Echo model factory
EchoBindingFactory echoFactory = new DefaultEchoBindingFactory();
// Add the EchoProcessor extension
StAXArtifactProcessorExtensionPoint processors = registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
EchoBindingProcessor echoBindingProcessor = new EchoBindingProcessor(echoFactory);
processors.addArtifactProcessor(echoBindingProcessor);
ProviderFactoryExtensionPoint providerFactories = registry.getExtensionPoint(ProviderFactoryExtensionPoint.class);
providerFactories.addProviderFactory(new EchoBindingProviderFactory(messageFactory));