- All Superinterfaces:
AgentFactory<A>
- All Known Implementing Classes:
AbstractAgentRoute,GuestAgentRoute,JavaAgentFactory,JsAgentFactory
Factory for
agents that are lazily instantiated when a node
URI route pattern is accessed.-
Method Summary
Modifier and TypeMethodDescriptionThe internal context used to provide concrete implementations to mostAgentRoutemethods.pattern()TheUriPatternthat everynodeUricorresponding to an instance ofAmust match.Returns a plane-unique identifier for this agent route.voidsetAgentRouteContext(AgentRouteContext context) Updates the internal context used to provide concrete implementations to mostAgentRoutemethods.Methods inherited from interface swim.api.agent.AgentFactory
createAgent, id, props
-
Method Details
-
agentRouteContext
AgentRouteContext agentRouteContext()The internal context used to provide concrete implementations to mostAgentRoutemethods. -
setAgentRouteContext
Updates the internal context used to provide concrete implementations to mostAgentRoutemethods. -
routeName
String routeName()Returns a plane-unique identifier for this agent route. -
pattern
UriPattern pattern()TheUriPatternthat everynodeUricorresponding to an instance ofAmust match.
-