At that point the Environment would be ready to use, even if beans are not created yet.
So you can inject the Environment into your class, then execute the old environment.getProperty("my.property") method.
Environment
environment.getProperty("my.property")