p-namespace



  • You can set the property injection using p-namespace
  • <bean id="user" class="com.data.User" p:addr-ref="address"/> 
  • p: is for p-namespace prefix
  • addr: is the name of the reference
  • ref: is for indicating reference
  • "address": is the refrence which will be injected