Class NozzleService
java.lang.Object
com.tccc.kos.commons.util.ready.ReadyBean
com.tccc.kos.commons.core.service.AbstractService
com.tccc.kos.ext.dispense.service.nozzle.NozzleService
- All Implemented Interfaces:
CtxEventListener
,ContextHandleAware
,HandleAware
,Ready
,ReadyAndReadyListener
,ReadyListener
,AssemblyListener
Service for creating and managing nozzles.
- Since:
- 1.0
- Version:
- 2023-01-13
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add the specified nozzle.void
add
(Collection<Nozzle> nozzles) Add the list of nozzles.Return the collection of nozzles.void
void
onPostInstall
(Assembly assembly) void
onPostUninstall
(Assembly assembly) void
onUninstall
(Assembly assembly) void
Request that all nozzles update availability.Methods inherited from class com.tccc.kos.commons.core.service.AbstractService
getHandle, getHandlePrefix
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tccc.kos.core.service.assembly.AssemblyListener
onPreInstall, onPreUninstall
Methods inherited from interface com.tccc.kos.commons.core.context.CtxEventListener
onCtxAutowiringCompleted, onCtxDestroyed, onCtxPhaseCompleted
Methods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPath
Methods inherited from interface com.tccc.kos.commons.util.ready.ReadyAndReadyListener
onBeanReady, onDependenciesReady
Methods inherited from interface com.tccc.kos.commons.util.ready.ReadyListener
onDependenciesGroupReady
-
Constructor Details
-
NozzleService
public NozzleService()
-
-
Method Details
-
add
Add the list of nozzles. -
add
Add the specified nozzle. This will make the nozzle available for use.- Parameters:
nozzle
- the nozzle to add
-
getNozzles
Return the collection of nozzles. -
updateAvailability
public void updateAvailability()Request that all nozzles update availability. -
onInstall
- Specified by:
onInstall
in interfaceAssemblyListener
-
onUninstall
- Specified by:
onUninstall
in interfaceAssemblyListener
-
onPostInstall
- Specified by:
onPostInstall
in interfaceAssemblyListener
-
onPostUninstall
- Specified by:
onPostUninstall
in interfaceAssemblyListener
-