org.cougaar.planning.servlet |
|
Java Source File Name | Type | Comment |
BlackboardServletComponent.java | Class | Basic servlet base class for servlets that need blackboard access. |
BlackboardServletSupport.java | Class |
This support class offers additional services on top of the
SimpleServletSupport class, including access to the blackboard,
config finder, root factory, ldm serves plugin, and scheduler service. |
CompletionServlet.java | Class | A Servlet , loaded by the
SimpleServletComponent , that generates
HTML, XML, and serialized-Object views of Task completion
information. |
ConsistencyCheckServlet.java | Class | A Servlet that checks the blackboard for plan
object consistency, such as checking that the blackboard
contains the parent tasks. |
HierarchyServlet.java | Class |
Servlet worker that gathers Organizational hierarchy information
from a Cougaar society.
Takes three parameters :
- recurse, which controls whether to recurse down the hierarchy
- format, which specifies whether the response is a data stream, xml, or html.
- allRelationships, which returns all the relationships for an agent
html is in the familiar CLUSTERS_R format.
An example URL is :
http://localhost:8800/$TRANSCOM/hierarchy?recurse=true&format=xml
This says to recurse from the TRANSCOM agent and return an XML document. |
HierarchyWorker.java | Class |
Servlet worker that gathers Organizational hierarchy information
from a Cougaar society.
Takes three parameters :
- recurse, which controls whether to recurse down the hierarchy
- format, which specifies whether the response is a data stream, xml, or html.
- allRelationships, which returns all the relationships for an agent
html is in the familiar CLUSTERS_R format.
An example URL is :
http://localhost:8800/$TRANSCOM/hierarchy?recurse=true&format=xml
This says to recurse from the TRANSCOM agent and return an XML document. |
LoaderServletComponent.java | Class | Servlet that allows the client to add, remove, and check for
the existence of Components at both the servlet's agent
(eg plugin) or node (eg agent).
The path of the servlet is "/load". |
PlanViewServlet.java | Class | A Servlet that generates HTML views of an Agent's Blackboard.
This Servlet allows the user to:
- List Tasks, PlanElements, Assets, UniqueObjects
- View detailed information for Tasks, PlanElements,
etc.
- Search for an item by UID
- Illustrates the use of URLs to allow the user to
seamlessly jump between views of separate blackboards
- Provide XML views of data (using XMLize)
.
This is a very large Servlet and is overly-complex to be
a good example for future Servlet developers. |
PredExamples.java | Class | These are example "public static boolean" methods for use by the
PlanViewServlet as examples in the "Advanced Search". |
PredTableParser.java | Class | Parser for the PlanViewServlet 's "Advanced Search"
loading of the built-in predicates. |
ServletBase.java | Class |
Base class for all servlets in the datagrabber. |
ServletWorker.java | Class |
ServletWorker is the base class for all servlet workers.
ServletWorkers assume that the result can be returned in any of
three formats : html, xml, or serialized java object. |
XMLize.java | Class | Create and return xml for first class log plan objects. |