Created
April 29, 2020 02:26
-
-
Save CheolhoJeon/f7fbaa0858fe6c1ce4ec2fdc950c2a71 to your computer and use it in GitHub Desktop.
This file contains 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
package spring; | |
import org.springframework.beans.factory.annotation.Value; | |
public class Info { | |
@Value("${info.version}") | |
private String version; | |
public String getVersion() { | |
return version; | |
} | |
public void setVersion(final String version) { | |
this.version = version; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment