Class GuestAgent

java.lang.Object
swim.dynamic.BridgeGuest
swim.dynamic.api.agent.GuestAgent
All Implemented Interfaces:
Agent, GuestWrapper

public class GuestAgent extends BridgeGuest implements Agent
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final AgentContext
     

    Fields inherited from class swim.dynamic.BridgeGuest

    bridge, guest
  • Constructor Summary

    Constructors
    Constructor
    Description
    GuestAgent(Bridge bridge, Object guest, AgentContext agentContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the AgentContext used to manage this Agent.
    void
    Lifecycle callback invoked immediately after this Agent closes.
    void
    Lifecycle callback invoked immediately after this Agent throws error.
    void
    Lifecycle callback invoked immediately after this Agent loads, i.e.
    void
    Lifecycle callback invoked immediately after this Agent opens, i.e.
    void
    Lifecycle callback invoked immediately after this Agent starts.
    void
    Lifecycle callback invoked immediately after this Agent stops, i.e.
    void
    Lifecycle callback invoked immediately after this Agent unloads, i.e.
    void
    Lifecycle callback invoked immediately before this Agent closes.
    void
    Lifecycle callback invoked immediately before this Agent loads.
    void
    Lifecycle callback invoked immediately before this Agent opens.
    void
    Lifecycle callback invoked immediately before this Agent starts.
    void
    Lifecycle callback invoked immediately before this Agent stops.
    void
    Lifecycle callback invoked immediately before this Agent unloads.

    Methods inherited from class swim.dynamic.BridgeGuest

    bridge, unwrap

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • agentContext

      public AgentContext agentContext()
      Description copied from interface: Agent
      Returns the AgentContext used to manage this Agent.
      Specified by:
      agentContext in interface Agent
    • willOpen

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

      //@see swim.system.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.system.TierBinding#open //@see swim.system.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.system.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.system.TierBinding#load //@see swim.system.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.system.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.system.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.system.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.system.TierBinding#stop //@see swim.system.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.system.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.system.TierBinding.unload //@see swim.system.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.system.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.system.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