Module agentforge4j.config.loader
Class AgentBundleLocator
java.lang.Object
com.agentforge4j.config.loader.agent.AgentBundleLocator
Resolves shipped agent bundle resources from the classpath.
Like WorkflowBundleLocator, resources are
resolved through ClassLoader.getResource(String) on this class's own loader so a catalog
shipped as a separate module/jar is discoverable. The shipped-agents root contains a
hyphen and is therefore not JPMS-encapsulated. When no catalog is present the shipped agent index
is absent and shippedAgentIds() is empty.
-
Method Summary
Modifier and TypeMethodDescriptionReturns agent ids listed in the shipped agent index.
-
Method Details
-
shippedAgentIds
Returns agent ids listed in the shipped agent index.- Returns:
- immutable list of shipped agent ids, empty when no catalog is present
-