Class GuestAgent

    • Method Summary

      Modifier and Type Method Description
      AgentContext agentContext()
      Returns the AgentContext used to manage this Agent.
      void didClose()
      Lifecycle callback invoked immediately after this Agent closes.
      void didFail​(Throwable error)
      Lifecycle callback invoked immediately after this Agent throws error.
      void didLoad()
      Lifecycle callback invoked immediately after this Agent loads, i.e.
      void didOpen()
      Lifecycle callback invoked immediately after this Agent opens, i.e.
      void didStart()
      Lifecycle callback invoked immediately after this Agent starts.
      void didStop()
      Lifecycle callback invoked immediately after this Agent stops, i.e.
      void didUnload()
      Lifecycle callback invoked immediately after this Agent unloads, i.e.
      void willClose()
      Lifecycle callback invoked immediately before this Agent closes.
      void willLoad()
      Lifecycle callback invoked immediately before this Agent loads.
      void willOpen()
      Lifecycle callback invoked immediately before this Agent opens.
      void willStart()
      Lifecycle callback invoked immediately before this Agent starts.
      void willStop()
      Lifecycle callback invoked immediately before this Agent stops.
      void willUnload()
      Lifecycle callback invoked immediately before this Agent unloads.
    • Field Detail

    • Method Detail

      • willOpen

        public void willOpen()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately before this Agent opens.

        //@see swim.runtime.TierBinding#open

        Specified by:
        willOpen in interface Agent
      • didOpen

        public void didOpen()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately after this Agent opens, i.e. before it loads.

        //@see swim.runtime.TierBinding#open //@see swim.runtime.TierBinding#load

        Specified by:
        didOpen in interface Agent
      • willLoad

        public void willLoad()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately before this Agent loads.

        //@see swim.runtime.TierBinding#load

        Specified by:
        willLoad in interface Agent
      • didLoad

        public void didLoad()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately after this Agent loads, i.e. before it starts.

        //@see swim.runtime.TierBinding#load //@see swim.runtime.TierBinding#start

        Specified by:
        didLoad in interface Agent
      • willStart

        public void willStart()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately before this Agent starts.

        //@see swim.runtime.TierBinding#start

        Specified by:
        willStart in interface Agent
      • didStart

        public void didStart()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately after this Agent starts.

        //@see swim.runtime.TierBinding#start

        Specified by:
        didStart in interface Agent
      • willStop

        public void willStop()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately before this Agent stops.

        //@see swim.runtime.TierBinding#stop

        Specified by:
        willStop in interface Agent
      • didStop

        public void didStop()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately after this Agent stops, i.e. before it unloads.

        //@see swim.runtime.TierBinding#stop //@see swim.runtime.TierBinding#unload

        Specified by:
        didStop in interface Agent
      • willUnload

        public void willUnload()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately before this Agent unloads.

        //@see swim.runtime.TierBinding#unload

        Specified by:
        willUnload in interface Agent
      • didUnload

        public void didUnload()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately after this Agent unloads, i.e. before it closes.

        //@see swim.runtime.TierBinding.unload //@see swim.runtime.TierBinding.close

        Specified by:
        didUnload in interface Agent
      • willClose

        public void willClose()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately before this Agent closes.

        //@see swim.runtime.TierBinding.close

        Specified by:
        willClose in interface Agent
      • didClose

        public void didClose()
        Description copied from interface: Agent
        Lifecycle callback invoked immediately after this Agent closes.

        //@see swim.runtime.TierBinding.close

        Specified by:
        didClose in interface Agent
      • didFail

        public void didFail​(Throwable error)
        Description copied from interface: Agent
        Lifecycle callback invoked immediately after this Agent throws error.
        Specified by:
        didFail in interface Agent