- java.lang.Object
-
- swim.api.SwimContext
-
public final class SwimContext extends Object
Thread-local context variables.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clear()
static AgentContext
getAgentContext()
static Lane
getLane()
static Link
getLink()
static PlaneContext
getPlaneContext()
static ServiceContext
getServiceContext()
static void
setAgentContext(AgentContext agentContext)
static void
setLane(Lane lane)
static void
setLink(Link link)
static void
setPlaneContext(PlaneContext planeContext)
static void
setServiceContext(ServiceContext serviceContext)
-
-
-
Method Detail
-
getServiceContext
public static ServiceContext getServiceContext()
-
setServiceContext
public static void setServiceContext(ServiceContext serviceContext)
-
getPlaneContext
public static PlaneContext getPlaneContext()
-
setPlaneContext
public static void setPlaneContext(PlaneContext planeContext)
-
getAgentContext
public static AgentContext getAgentContext()
-
setAgentContext
public static void setAgentContext(AgentContext agentContext)
-
getLane
public static Lane getLane()
-
setLane
public static void setLane(Lane lane)
-
getLink
public static Link getLink()
-
setLink
public static void setLink(Link link)
-
clear
public static void clear()
-
-