Using autowier="byName" and "byType".