-
- All Superinterfaces:
AgentFactory<A>
- All Known Implementing Classes:
AbstractAgentRoute
,GuestAgentRoute
,JavaAgentFactory
,JsAgentFactory
public interface AgentRoute<A extends Agent> extends AgentFactory<A>
Factory foragents
that are lazily instantiated when a node URI route pattern is accessed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentRouteContext
agentRouteContext()
The internal context used to provide concrete implementations to mostAgentRoute
methods.UriPattern
pattern()
TheUriPattern
that everynodeUri
corresponding to an instance ofA
must match.String
routeName()
Returns a plane-unique identifier for this agent route.void
setAgentRouteContext(AgentRouteContext context)
Updates the internal context used to provide concrete implementations to mostAgentRoute
methods.-
Methods inherited from interface swim.api.agent.AgentFactory
createAgent, id, props
-
-
-
-
Method Detail
-
agentRouteContext
AgentRouteContext agentRouteContext()
The internal context used to provide concrete implementations to mostAgentRoute
methods.
-
setAgentRouteContext
void setAgentRouteContext(AgentRouteContext context)
Updates the internal context used to provide concrete implementations to mostAgentRoute
methods.
-
routeName
String routeName()
Returns a plane-unique identifier for this agent route.
-
pattern
UriPattern pattern()
TheUriPattern
that everynodeUri
corresponding to an instance ofA
must match.
-
-