private static DeploymentContext createDeploymentContext(
GatewayConfig config, Topology topology,
Map<String,List<ProviderDeploymentContributor>> providers,
Map<String,List<ServiceDeploymentContributor>> services ) {
WebArchive webArchive = ShrinkWrap.create( WebArchive.class, topology.getName() );
WebAppDescriptor webAppDesc = Descriptors.create( WebAppDescriptor.class );
GatewayDescriptor gateway = GatewayDescriptorFactory.create();
DeploymentContext context = new DeploymentContextImpl(
config, topology, gateway, webArchive, webAppDesc, providers, services );
return context;
}