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.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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(Nozzle nozzle)
    Add the specified nozzle.
    void
    add(Collection<Nozzle> nozzles)
    Add the list of nozzles.
    Return the collection of nozzles.
    void
    onInstall(com.tccc.kos.core.service.assembly.Assembly assembly)
     
    void
    onPostInstall(com.tccc.kos.core.service.assembly.Assembly assembly)
     
    void
    onPostUninstall(com.tccc.kos.core.service.assembly.Assembly assembly)
     
    void
    onUninstall(com.tccc.kos.core.service.assembly.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 com.tccc.kos.commons.util.ready.ReadyBean

    getReady, onBeanReady, onDependenciesReady

    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.Ready

    isReady, setReady

    Methods inherited from interface com.tccc.kos.commons.util.ready.ReadyListener

    onDependenciesGroupReady
  • Constructor Details

    • NozzleService

      public NozzleService()
  • Method Details

    • add

      public void add(Collection<Nozzle> nozzles)
      Add the list of nozzles.
    • add

      public void add(Nozzle nozzle)
      Add the specified nozzle. This will make the nozzle available for use.
      Parameters:
      nozzle - the nozzle to add
    • getNozzles

      public Collection<Nozzle> 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:
      onInstall in interface com.tccc.kos.core.service.assembly.AssemblyListener
    • onUninstall

      public void onUninstall(com.tccc.kos.core.service.assembly.Assembly assembly)
      Specified by:
      onUninstall in interface com.tccc.kos.core.service.assembly.AssemblyListener
    • onPostInstall

      public void onPostInstall(com.tccc.kos.core.service.assembly.Assembly assembly)
      Specified by:
      onPostInstall in interface com.tccc.kos.core.service.assembly.AssemblyListener
    • onPostUninstall

      public void onPostUninstall(com.tccc.kos.core.service.assembly.Assembly assembly)
      Specified by:
      onPostUninstall in interface com.tccc.kos.core.service.assembly.AssemblyListener