Merge remote-tracking branch 'upstream/master'

This commit is contained in:
ohad
2013-05-18 09:06:40 +03:00
14 changed files with 3 additions and 17 deletions

View File

@@ -1568,7 +1568,7 @@ Public Class ExampleObject
myObjectTwo = yetAnotherObject
Me.i = i
End Sub
End Class</programlisting>Ghe constructor arguments specified in the object
End Class</programlisting>The constructor arguments specified in the object
definition will be used to pass in as arguments to the constructor of
the <literal>ExampleObject</literal>.</para>

View File

@@ -103,13 +103,6 @@
The fully-qualified class name of the BeanNameGenerator to be used for naming detected components.
]]>
</xsd:documentation>
<xsd:appinfo>
<tool:annotation>
<tool:expected-type type="java.lang.Class" />
<tool:assignable-to
type="org.springframework.beans.factory.support.BeanNameGenerator" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>

View File

@@ -93,6 +93,7 @@ namespace Spring.Objects.Factory.Xml
wellknownNamespaceParserTypeNames = new CaseInsensitiveHashtable();
wellknownNamespaceParserTypeNames["http://www.springframework.net/tx"] = "Spring.Transaction.Config.TxNamespaceParser, Spring.Data";
wellknownNamespaceParserTypeNames["http://www.springframework.net/aop"] = "Spring.Aop.Config.AopNamespaceParser, Spring.Aop";
wellknownNamespaceParserTypeNames["http://www.springframework.net/context"] = "Spring.Context.Config.ContextNamespaceParser, Spring.Core";
wellknownNamespaceParserTypeNames["http://www.springframework.net/db"] = "Spring.Data.Config.DatabaseNamespaceParser, Spring.Data";
wellknownNamespaceParserTypeNames["http://www.springframework.net/database"] = "Spring.Data.Config.DatabaseNamespaceParser, Spring.Data";
wellknownNamespaceParserTypeNames["http://www.springframework.net/remoting"] = "Spring.Remoting.Config.RemotingNamespaceParser, Spring.Services";

View File

@@ -30,9 +30,7 @@ namespace Spring.Context.Attributes
{
protected override void CreateApplicationContext()
{
NamespaceParserRegistry.RegisterParser(typeof(ContextNamespaceParser));
_ctx = new XmlApplicationContext(ReadOnlyXmlTestResource.GetFilePath("SimpleScanTest.xml", GetType()));
}
[Test]

View File

@@ -38,7 +38,6 @@ namespace Spring.Context.Attributes
[SetUp]
public void Setup()
{
NamespaceParserRegistry.RegisterParser(typeof(ContextNamespaceParser));
_applicationContext = new XmlApplicationContext(ReadOnlyXmlTestResource.GetFilePath("SimpleScanTest.xml", GetType()));
}

View File

@@ -33,7 +33,6 @@ namespace Spring.Context.Config
[SetUp]
public void Setup()
{
NamespaceParserRegistry.RegisterParser(typeof(ContextNamespaceParser));
}
[Test]

View File

@@ -12,7 +12,6 @@ namespace Spring.Context.Config
[SetUp]
public void Setup()
{
NamespaceParserRegistry.RegisterParser(typeof(ContextNamespaceParser));
}
[Test]

View File

@@ -38,7 +38,6 @@ namespace Spring.Context.Config
[SetUp]
public void Setup()
{
NamespaceParserRegistry.RegisterParser(typeof(ContextNamespaceParser));
}
[Test]

View File

@@ -38,7 +38,6 @@ namespace Spring.Context.Config
[SetUp]
public void Setup()
{
NamespaceParserRegistry.RegisterParser(typeof(ContextNamespaceParser));
}
[Test]

View File

@@ -30,11 +30,10 @@ namespace Spring.Context.Config
[SetUp]
public void Setup()
{
NamespaceParserRegistry.RegisterParser(typeof(ContextNamespaceParser));
}
[Test]
public void Registered()
public void RegisteredAsWellKnownParser()
{
Assert.IsNotNull(NamespaceParserRegistry.GetParser("http://www.springframework.net/context"));
}