Skip to content

Instantly share code, notes, and snippets.

@michalkowol
Created November 29, 2014 14:54
Show Gist options
  • Select an option

  • Save michalkowol/dac25151507ca255a296 to your computer and use it in GitHub Desktop.

Select an option

Save michalkowol/dac25151507ca255a296 to your computer and use it in GitHub Desktop.
<bean id="test" class="Test">
<constructor-arg value="xhajs" />
<constructor-arg value="md5" />
</bean>
<bean id="test" class="Test">
<constructor-arg name="password" value="xhajs" />
<constructor-arg value="md5" />
</bean>
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