Rewrote configureService working in the new 'type' attribute available in <Resource>, <Container> and other elements in openejb.xml