processors.addArtifactProcessor(bindingArtifactProcessor);
// Add the resource implementation extension to the StAXArtifactProcessor
// extension point
ContributionFactory contributionFactory = factories.getFactory(ContributionFactory.class);
ResourceImplementationProcessor implementationArtifactProcessor = new ResourceImplementationProcessor(resourceFactory, contributionFactory);
processors.addArtifactProcessor(implementationArtifactProcessor);
// Add the provider factories to the provider factory extension point
ProviderFactoryExtensionPoint providerFactories = registry.getExtensionPoint(ProviderFactoryExtensionPoint.class);
ServletHost servletHost = registry.getExtensionPoint(ServletHost.class);