Added Java Config for Method Injection