getBeanByType, change name to wired