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:
com.tccc.kos.commons.core.context.CtxEventListener,com.tccc.kos.commons.core.service.handle.ContextHandleAware,com.tccc.kos.commons.core.service.handle.HandleAware,com.tccc.kos.commons.util.ready.Ready,com.tccc.kos.commons.util.ready.ReadyAndReadyListener,com.tccc.kos.commons.util.ready.ReadyListener,com.tccc.kos.core.service.assembly.AssemblyListener
public final class NozzleService
extends com.tccc.kos.commons.core.service.AbstractService
implements com.tccc.kos.core.service.assembly.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.voidonInstall(com.tccc.kos.core.service.assembly.Assembly assembly) voidonPostInstall(com.tccc.kos.core.service.assembly.Assembly assembly) voidonPostUninstall(com.tccc.kos.core.service.assembly.Assembly assembly) voidonUninstall(com.tccc.kos.core.service.assembly.Assembly assembly) voidRequest that all nozzles update availability.Methods inherited from class com.tccc.kos.commons.core.service.AbstractService
getHandle, getHandlePrefixMethods inherited from class com.tccc.kos.commons.util.ready.ReadyBean
getReadyMethods 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.Ready
isReady, setReadyMethods 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
public void onInstall(com.tccc.kos.core.service.assembly.Assembly assembly) - Specified by:
onInstallin interfacecom.tccc.kos.core.service.assembly.AssemblyListener
-
onUninstall
public void onUninstall(com.tccc.kos.core.service.assembly.Assembly assembly) - Specified by:
onUninstallin interfacecom.tccc.kos.core.service.assembly.AssemblyListener
-
onPostInstall
public void onPostInstall(com.tccc.kos.core.service.assembly.Assembly assembly) - Specified by:
onPostInstallin interfacecom.tccc.kos.core.service.assembly.AssemblyListener
-
onPostUninstall
public void onPostUninstall(com.tccc.kos.core.service.assembly.Assembly assembly) - Specified by:
onPostUninstallin interfacecom.tccc.kos.core.service.assembly.AssemblyListener
-