private SCADefinitionsDocumentProcessor scaDefnDocProcessor;
private IntentAttachPointTypeFactory intentAttachPointTypeFactory;
@Override
public void setUp() throws Exception {
ModelFactoryExtensionPoint modelFactories = new DefaultModelFactoryExtensionPoint();
assemblyFactory = new DefaultAssemblyFactory();
modelFactories.addFactory(assemblyFactory);
scaBindingFactory = new SCABindingFactoryImpl();
policyFactory = new DefaultPolicyFactory();
modelFactories.addFactory(policyFactory);
mapper = new InterfaceContractMapperImpl();
inputFactory = XMLInputFactory.newInstance();
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);
JavaImplementationProcessor javaProcessor = new JavaImplementationProcessor(modelFactories);