Revert "SPRNET-1557 - retrieve object type from object definition rather than expensive additional instantiation" as part of troubleshooting broken build.
This reverts commit 579e5ae02d.
This commit is contained in:
@@ -299,7 +299,7 @@ namespace Spring.Objects.Factory.Support
|
||||
if (StringUtils.HasText(definition.FactoryObjectName))
|
||||
{
|
||||
// it's an instance method on the factory object's class...
|
||||
factoryClass = objectFactory.GetObjectDefinition(definition.FactoryObjectName).ObjectType;
|
||||
factoryClass = objectFactory.GetObject(definition.FactoryObjectName).GetType();
|
||||
isStatic = false;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user