Fixing container can provide method

I'll add @garcia-jj changes on `CDIBasedContainer` after merge it :)