stupid type validation based on jndi name, doing it only for bean manager when using lookup cause it doesn't make much sense