staxProcessors = new DefaultStAXArtifactProcessorExtensionPoint(modelFactories);
staxProcessors.addArtifactProcessor(new WSPolicyProcessor());
staxProcessor = new ExtensibleStAXArtifactProcessor(staxProcessors, XMLInputFactory.newInstance(), XMLOutputFactory.newInstance());
intentAttachPointTypeFactory = new DefaultIntentAttachPointTypeFactory();
JavaImplementationFactory javaImplementationFactory = new DefaultJavaImplementationFactory();
modelFactories.addFactory(javaImplementationFactory);
CompositeProcessor compositeProcessor = new CompositeProcessor(new DefaultContributionFactory(), assemblyFactory, policyFactory, staxProcessor);
staxProcessors.addArtifactProcessor(compositeProcessor);