StAXArtifactProcessorExtensionPoint processors =
registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
RMIHost rmiHost = registry.getExtensionPoint(RMIHost.class);
RMIBindingFactory rmiFactory = new DefaultRMIBindingFactory();
processors.addArtifactProcessor(new RMIBindingProcessor(assemblyFactory, policyFactory, rmiFactory));
ProviderFactoryExtensionPoint providerFactories = registry.getExtensionPoint(ProviderFactoryExtensionPoint.class);
providerFactories.addProviderFactory(new RMIBindingProviderFactory(messageFactory, rmiHost));
}