Package cz.vutbr.fit.layout.impl
Class BaseService
- java.lang.Object
-
- cz.vutbr.fit.layout.impl.BaseService
-
- All Implemented Interfaces:
Service
- Direct Known Subclasses:
BaseParametrizedOperation
public abstract class BaseService extends Object implements Service
A base implementation of a service.- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description BaseService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceManager
getServiceManager()
Gets the service manager used by the service.void
setServiceManager(ServiceManager serviceManager)
Assigns a service manager to the service.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cz.vutbr.fit.layout.api.Service
getCategory, getDescription, getId, getName
-
-
-
-
Method Detail
-
getServiceManager
public ServiceManager getServiceManager()
Gets the service manager used by the service.- Returns:
- The service manager.
-
setServiceManager
public void setServiceManager(ServiceManager serviceManager)
Description copied from interface:Service
Assigns a service manager to the service. This is typically called by the service manager itself during the service initialization.- Specified by:
setServiceManager
in interfaceService
- Parameters:
serviceManager
- The service manager to be set.
-
-