Spring, Inheritance , P namespace