Spring Constructor Injection falling test
This commit is contained in:
committed by
Nikolay Krasko
parent
6ae247ba61
commit
ce77751349
@@ -0,0 +1,3 @@
|
||||
import org.springframework.beans.factory.annotation.Autowired
|
||||
|
||||
class Bean(<caret>val prop: String)
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
springConfig: ["config.xml"],
|
||||
file: "Bean.kt",
|
||||
icon: "SpringBeanMethod",
|
||||
tooltip: "Navigate to the spring bean ",
|
||||
naming: "bean",
|
||||
targets: ["bean"]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
default-init-method="myDefaultInitMethod"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
<bean id="bean" class="Bean">
|
||||
<constructor-arg index="0" value="string1"/>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
Reference in New Issue
Block a user