Following Alan Green’s ‘Naming Java classes without Manager‘ I’ve started hunting *Manager classes in my own code.
How would you rename the following class? ServiceLoader, maybe? but it doesn’t ‘load’ anything from anywhere.
class ServiceManager { public bool IsRunning { get; }; public void Start(); public void Restart(); public void Stop(); }
Also, please share your own examples of Manager classes that you’ve renamed.
Thanks
I probably should have described a little more what the class does. This class starts/stops a .NET Remoting service.
The Start() method registers a channel (port) and the interfaces for the services.
Maybe ServiceController? ServiceWrapper?