Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0
-
None
Description
Threre's a strong pattern for service builders of the form:
Foo buildFoo(...)
{ ... }In fact, virtually all service builders are of this form.
Seems like a Dont Repeat Yourself violation.
Foo build(...)
{...}seems completely reasonable; determine the service id from the service interface name (the unqualified part).
Obviously, the current behavior would be left for the reasonable cases where you need to provide a specific service id.