This is more of a Spring question, but if this is specifically about getting properties, you can just access it directly using the JDK classes using this static method java.lang.System#getProperty(java.lang.String)
without relying on Spring injection.