Spring baseed factory design pattern .