Package org.cougaar.core.node

This package contains the Cougaar JVM node and node-level services.

See:
          Description

Interface Summary
ComponentInitializerService This service provides access to the initial component model ComponentDescription list, specifying which components to load into the agents.
DBInitializerService This service provides access to database configuration data.
GetServiceCallback A callback for GetServiceComponent.
NodeBusyService This service is used by agents to note when they are busy in an action that may block communication, such as persistence.
NodeControlService This service s provided by the Node to node-agent components for access to the node-wide root ServiceBroker and AgentContainer.
NodeIdentificationService This service provides the local node's MessageAddress.
RegisterAgentService This service is used by agents to register themselves with the nodes dynamic agent add/remove tracker.
SecureMessage A marker interface for securing the contents of a message using cryptography.
StateDumpService  
XSLTransformer.Resolver An InputStream resolver for reading files referenced in XSL/XML.
 

Class Summary
AddServiceComponent This component can be used to import an external service into the node agent.
AgentLoader This component loads the initial set of agents into the node and persists the names of dynamically added/removed agents.
ComponentMessage Deprecated. message to add/remove components, see AgentContainmentService.
ConfigurationServiceComponent This component advertises the ConfigurationService, wrapping the ConfigFinder.
DBComponentInitializerServiceComponent This component advertises the DBInitializerService and CSMART-database ComponentInitializerService.
DBInitializerServiceImpl Implementation of DBInitializerService.
DefaultAgentIdentityComponent This component advertises a dummy implementation of the AgentIdentityService, if not already advertised.
DummyMessageSecurityManager A trivial MessageSecurityManager.
FileComponentInitializerServiceComponent This component advertises the INI-based ComponentInitializerService.
FileComponentInitializerServiceProvider ServiceProvider for the FileComponentInitializerServiceComponent that uses the INIParser.
GetServiceComponent This component can be used to export an internal service out to an external framework.
Heartbeat A low-priority "heartbeat" function that prints a period every few seconds when nothing else is happening.
HeartbeatComponent This component loads the Heartbeat class.
Incarnation This component provides the IncarnationService that monitors agent incarnation (version) numbers in the WhitePagesService and notifies clients of any changes.
INIParser Parse an INI stream into an ComponentDescription[].
KeyRing A container for security keystore information and functionality.
LoggingServiceComponent This component advertises the LoggingService to all agents.
NaturalTimeComponent This component advertises the NaturalTimeService, which is wrapped by each agent's AlarmService.
Node This component is the root component of the Cougaar Agent Architecture, containing the Node.main(java.lang.String[]) method.
NodeAgent Deprecated. see AgentImpl
NodeApplet This component loads a Cougaar Node as a browser Applet.
NodeBusyComponent This component advertises the NodeBusyService to all agents.
NodeIdentificationServiceProvider ServiceProvider for the NodeIdentificationService.
NodeMessage Deprecated. unused Message base for nodes.
NodeMetrics This component advertises the NodeMetricsService.
NodeMetricsServiceProvider ServiceProvider for the NodeMetricsService.
QuiescenceReportComponent This component advertises the QuiescenceReportService to all agents.
QuiescenceStateServlet This component is a Servlet that displays the agents registered with the node's AgentQuiescenceStateService, and allow an agent to be marked as "dead" (for use when the agent has been restarted elsewhere and the original instance should be ignored).
RealTimeComponent This component advertises the RealTimeService, which is wrapped by each agent's AlarmService.
SetPropertiesComponent This component can be used to set SystemProperties values and initialize the properties map.
SignedMessageSecurityManager A useful MessageSecurityManager which signs each message, but depends on the destination to recover the public key of the sender.
StateDumpServiceComponent  
SuicideServiceComponent This component advertises the SuicideService.
TimeServiceBase A base class for timer service implementations.
XMLComponentInitializerServiceComponent This component advertises the XML-based ComponentInitializerService.
XMLComponentInitializerServiceProvider ServiceProvider for the XML-based ComponentInitializerService that uses the XSLTransformer.
XMLConfigHandler SAX ContentHandler that handles the society config parsing.
XMLConfigParser Utility class used by the XMLComponentInitializerServiceComponent to parse the agent configurations.
XSLTransformer Generic XSL transformer that supports two-stage XSL transforms.
XSLTransformer.ConfigFinderBasedResolver XSLTransformer.Resolver that uses the ConfigFinder.
 

Exception Summary
ComponentInitializerService.InitializerException Generic exception for component initializer failures.
XSLTransformer.ParseException An XSLTransformer XML/XSL parsing exception.
 

Package org.cougaar.core.node Description

This package contains the Cougaar JVM node and node-level services.

The Node contains the top-level

  public static void main(String[] args) {..}
that is typically loaded by the Bootstrapper.

The node creates the root ServiceBroker and AgentContainer. Additional details can be found in the agent package javadoc.

This package also contains the ComponentInitializerService provider components:

  1. The standard XML-based configuration reader, which supports XSL templates (XMLComponentInitializerServiceComponent).
  2. The deprecated INI-based configuration reader (FileComponentInitializerServiceComponent).
  3. The deprecated database configuration reader (DBComponentInitializerServiceComponent).

Another notable component is the AgentLoader, which loads the node's child agents.

For more detail, see the Cougaar Developers' Guide.