Class InProcessSimulatorLauncher.ObjectCreationListener

java.lang.Object
fr.ifremer.isisfish.simulator.launcher.InProcessSimulatorLauncher.ObjectCreationListener
All Implemented Interfaces:
EventListener, org.nuiton.topia.event.TopiaTransactionListener
Enclosing class:
InProcessSimulatorLauncher

protected static class InProcessSimulatorLauncher.ObjectCreationListener extends Object implements org.nuiton.topia.event.TopiaTransactionListener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected List<org.nuiton.topia.persistence.TopiaEntity>
    List qui contient tous les objets creer durant la simulation
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    commit(org.nuiton.topia.event.TopiaTransactionEvent event)
     
    List<org.nuiton.topia.persistence.TopiaEntity>
     
    void
    rollback(org.nuiton.topia.event.TopiaTransactionEvent event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • newObjects

      protected List<org.nuiton.topia.persistence.TopiaEntity> newObjects
      List qui contient tous les objets creer durant la simulation
  • Constructor Details

    • ObjectCreationListener

      protected ObjectCreationListener()
  • Method Details

    • getNewObjects

      public List<org.nuiton.topia.persistence.TopiaEntity> getNewObjects()
      Returns:
      Returns the newObjects.
    • commit

      public void commit(org.nuiton.topia.event.TopiaTransactionEvent event)
      Specified by:
      commit in interface org.nuiton.topia.event.TopiaTransactionListener
    • rollback

      public void rollback(org.nuiton.topia.event.TopiaTransactionEvent event)
      Specified by:
      rollback in interface org.nuiton.topia.event.TopiaTransactionListener