This commit is contained in:
@@ -27,20 +27,15 @@ namespace Spring.Context.Config
|
||||
]
|
||||
public class ContextNamespaceParser : NamespaceParserSupport
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Register the <see cref="IObjectDefinitionParser"/> for the '<code>advice</code>' and
|
||||
/// '<code>attribute-driven'</code> tags.
|
||||
/// </summary>
|
||||
public override void Init()
|
||||
{
|
||||
|
||||
|
||||
RegisterObjectDefinitionParser("attribute-config", new AttributeConfigObjectDefinitionParser());
|
||||
|
||||
|
||||
//RegisterObjectDefinitionParser("component-scan", new ComponentScanObjectDefinitionParser());
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified">
|
||||
|
||||
<xsd:import namespace="http://www.springframework.net"/>
|
||||
<xsd:import namespace="http://www.springframework.net/tool"/>
|
||||
<xsd:import namespace="http://www.springframework.net"/>
|
||||
<xsd:import namespace="http://www.springframework.net/tool"/>
|
||||
|
||||
<xsd:annotation>
|
||||
<xsd:annotation>
|
||||
<xsd:documentation><![CDATA[
|
||||
Defines the configuration elements for the Spring Framework's application
|
||||
context support. Effects the activation of various configuration styles
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Spring.Objects.Factory.Support
|
||||
AssertExpectedObjectsAreRegisteredWith(context);
|
||||
}
|
||||
|
||||
private static void AssertExpectedObjectsAreRegisteredWith(GenericApplicationContext context)
|
||||
private void AssertExpectedObjectsAreRegisteredWith(GenericApplicationContext context)
|
||||
{
|
||||
Assert.That(context.DefaultListableObjectFactory.ObjectDefinitionCount, Is.EqualTo(13));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user