// Add the provider factories to the provider factory extension point
ProviderFactoryExtensionPoint providerFactories = registry.getExtensionPoint(ProviderFactoryExtensionPoint.class);
ServletHost servletHost = registry.getExtensionPoint(ServletHost.class);
providerFactories.addProviderFactory(new HTTPResourceBindingProviderFactory(servletHost));
providerFactories.addProviderFactory(new ResourceImplementationProviderFactory());
}