Configuration Trail  TOC
Domains (implementations of org.cougaar.core.DomainAdapter) can be loaded into a Cougaar Society. The configuration identifying the Domains to load into the Node is located in the LDMDomains.ini file. This is a very simple configuration file containing a list of domain name, domain implementation class pairs. By default the PlanningDomain ("planning") is loaded into every Node, so no line needs to be added to the LDMDomain.ini file. Here is an example LDMDomain file:

glm=org.cougaar.glm.ldm.GLMDomain
mydomain=com.test.domain.MyDomain


This LDMDomain configuration file identifies 2 Domains to be loaded into the node: the org.cougaar.glm.ldm.GLMDomain and the com.test.domain.MyDomain Domain. The name of the domain is important because this is how you get a reference to a domain factory from most Cougaar Components. This is usually done by using the DomainService.getFactory(domainName) method.

Having covered the basics to configuring the domains of a Node, the next step is configuring an agent.