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 TypeMethodDescriptionvoidAdd the specified nozzle.voidadd(Collection<Nozzle> nozzles) Add the list of nozzles.Return the collection of nozzles.voidvoidonPostInstall(Assembly assembly) voidonPostUninstall(Assembly assembly) voidonUninstall(Assembly assembly) voidRequest that all nozzles update availability.Methods inherited from class com.tccc.kos.commons.core.service.AbstractService
getHandle, getHandlePrefixMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tccc.kos.core.service.assembly.AssemblyListener
onPreInstall, onPreUninstallMethods inherited from interface com.tccc.kos.commons.core.context.CtxEventListener
onCtxAutowiringCompleted, onCtxDestroyed, onCtxPhaseCompletedMethods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPathMethods inherited from interface com.tccc.kos.commons.util.ready.ReadyAndReadyListener
onBeanReady, onDependenciesReadyMethods 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:
onInstallin interfaceAssemblyListener
-
onUninstall
- Specified by:
onUninstallin interfaceAssemblyListener
-
onPostInstall
- Specified by:
onPostInstallin interfaceAssemblyListener
-
onPostUninstall
- Specified by:
onPostUninstallin interfaceAssemblyListener
-