update to new signature of ServiceProxyTypeBuilder

This commit is contained in:
markpollack
2008-11-06 23:43:38 +00:00
parent 6a85fde165
commit 67f39e73b1

View File

@@ -192,7 +192,7 @@ namespace Spring.ServiceModel
{
string contextName = (applicationContext.Name == AbstractApplicationContext.DefaultRootContextName) ? null : applicationContext.Name;
Type targetType = objectFactory.GetType(targetName);
IProxyTypeBuilder builder = new ServiceProxyTypeBuilder(contextName, targetName, targetType);
IProxyTypeBuilder builder = new ServiceProxyTypeBuilder(targetName, applicationContext, targetType);
if (Contracts != null && Contracts.Length > 0)
{
builder.Interfaces = TypeResolutionUtils.ResolveInterfaceArray(Contracts);