Class DefaultPersistenceServiceImpl

  • All Implemented Interfaces:
    PersistenceService

    public class DefaultPersistenceServiceImpl
    extends java.lang.Object
    implements PersistenceService
    Implementation of the Persistence Service contract.
    Author:
    Ikasan Development Team
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.ProcessHandle find​(java.lang.String type, java.lang.String name)
      Find instance of a process handle based on ProcessType and process name.
      void persist​(java.lang.String type, java.lang.String name, java.lang.Process process)
      Persist the process based on processType and name.
      void remove​(java.lang.String type, java.lang.String name)
      Remove references to the processType and name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultPersistenceServiceImpl

        public DefaultPersistenceServiceImpl​(ProcessPersistenceDao processPersistenceDao)
        Constructor
        Parameters:
        processPersistenceDao -
    • Method Detail

      • find

        public java.lang.ProcessHandle find​(java.lang.String type,
                                            java.lang.String name)
        Description copied from interface: PersistenceService
        Find instance of a process handle based on ProcessType and process name.
        Specified by:
        find in interface PersistenceService
        Returns:
      • persist

        public void persist​(java.lang.String type,
                            java.lang.String name,
                            java.lang.Process process)
        Description copied from interface: PersistenceService
        Persist the process based on processType and name.
        Specified by:
        persist in interface PersistenceService
      • remove

        public void remove​(java.lang.String type,
                           java.lang.String name)
        Description copied from interface: PersistenceService
        Remove references to the processType and name.
        Specified by:
        remove in interface PersistenceService