Spring beans for MetaClass object session factory added.