Java Doc for ComponentServlet.java in  » Science » Cougaar12_4 » org » cougaar » core » servlet » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Cougaar12_4 » org.cougaar.core.servlet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.servlet.http.HttpServlet
   org.cougaar.core.servlet.ComponentServlet

All known Subclasses:   org.cougaar.core.qos.frame.FrameViewerServlet,  org.cougaar.demo.mesh.MeshServlet,  org.cougaar.core.util.ComponentViewServlet,  org.cougaar.core.util.CheckJarsServlet,  org.cougaar.lib.web.service.FavIconServlet,  org.cougaar.core.node.QuiescenceStateServlet,  org.cougaar.logistics.servlet.SDUseCaseServlet,  org.cougaar.demo.ping.PingServlet,  org.cougaar.core.examples.servlet.FileServerServlet,  org.cougaar.demo.mandelbrot.FrontPageServlet,  org.cougaar.core.adaptivity.AEViewerServlet,  org.cougaar.planning.servlet.ConsistencyCheckServlet,  org.cougaar.lib.web.service.BlockRobotsServlet,  org.cougaar.core.wp.WhitePagesServlet,  org.cougaar.logistics.servlet.AvailabilityServlet,  org.cougaar.core.examples.servlet.ColorServlet,  org.cougaar.demo.mandelbrot.v1.MandelbrotServlet,  org.cougaar.planning.examples.AddTaskServlet,  org.cougaar.lib.web.service.FileServlet,  org.cougaar.demo.mandelbrot.v2.FractalServlet,  org.cougaar.core.examples.servlet.HelloServlet,
ComponentServlet
abstract public class ComponentServlet extends HttpServlet implements Component(Code)
Abstract base-class for a Component that is also a Servlet.

This is very similar to BaseServletComponent, except that the component itself is registered as the servlet.



Field Summary
protected  MessageAddressagentId
    
protected  AgentIdentificationServiceagentIdService
    
protected  BindingSitebindingSite
    
protected  StringencAgentName
    
protected  ServiceBrokerserviceBroker
    
protected  ServletServiceservletService
    

Constructor Summary
public  ComponentServlet()
    

Method Summary
protected  MessageAddressgetAgentIdentifier()
    
protected  StringgetEncodedAgentName()
    
public  intgetModelState()
    
protected  StringgetPath()
     Get the path for the Servlet's registration.
protected  ServiceBrokergetServiceBroker()
    
public  voidhalt()
    
public  voidinitialize()
    
public  voidload()
    
public  voidresume()
    
public  voidsetAgentIdentificationService(AgentIdentificationService agentIdService)
    
public  voidsetBindingSite(BindingSite bindingSite)
    
public  voidsetParameter(Object o)
     Capture the (optional) load-time parameters.
public  voidsetServiceBroker(ServiceBroker sb)
    
public  voidstart()
    
public  voidstop()
    
public  voidsuspend()
    
public  voidunload()
    

Field Detail
agentId
protected MessageAddress agentId(Code)



agentIdService
protected AgentIdentificationService agentIdService(Code)



bindingSite
protected BindingSite bindingSite(Code)



encAgentName
protected String encAgentName(Code)



serviceBroker
protected ServiceBroker serviceBroker(Code)



servletService
protected ServletService servletService(Code)




Constructor Detail
ComponentServlet
public ComponentServlet()(Code)




Method Detail
getAgentIdentifier
protected MessageAddress getAgentIdentifier()(Code)



getEncodedAgentName
protected String getEncodedAgentName()(Code)
URL-encoded name of the local agent



getModelState
public int getModelState()(Code)



getPath
protected String getPath()(Code)
Get the path for the Servlet's registration.

Typically supplied by the component parameter, but subclasses can hard-code the path by overriding this method.




getServiceBroker
protected ServiceBroker getServiceBroker()(Code)



halt
public void halt() throws StateModelException(Code)



initialize
public void initialize() throws StateModelException(Code)



load
public void load()(Code)



resume
public void resume() throws StateModelException(Code)



setAgentIdentificationService
public void setAgentIdentificationService(AgentIdentificationService agentIdService)(Code)



setBindingSite
public void setBindingSite(BindingSite bindingSite)(Code)



setParameter
public void setParameter(Object o)(Code)
Capture the (optional) load-time parameters.

This is typically a List of Strings.




setServiceBroker
public void setServiceBroker(ServiceBroker sb)(Code)



start
public void start() throws StateModelException(Code)



stop
public void stop() throws StateModelException(Code)



suspend
public void suspend() throws StateModelException(Code)



unload
public void unload()(Code)



Methods inherited from javax.servlet.http.HttpServlet
protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected long getLastModified(HttpServletRequest req)(Code)(Java Doc)
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.