menu class ServiceContext method searchclearRemoves all services that are currently registered.clear(): thisRelatedclass ServiceContextA container of named services, part of the global application context.