Created
November 29, 2014 14:54
-
-
Save michalkowol/dac25151507ca255a296 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <bean id="test" class="Test"> | |
| <constructor-arg value="xhajs" /> | |
| <constructor-arg value="md5" /> | |
| </bean> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <bean id="test" class="Test"> | |
| <constructor-arg name="password" value="xhajs" /> | |
| <constructor-arg value="md5" /> | |
| </bean> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Test { | |
| private String type; | |
| private String password; | |
| public Test(String type, String password) { | |
| this.type = type; | |
| this.password = password; | |
| } | |
| public String getPassword() { | |
| return password; | |
| } | |
| public String getType() { | |
| return type; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment