org.cougaar.core.wp.bootstrap

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.wp.bootstrap 
org.cougaar.core.wp.bootstrap
Java Source File NameTypeComment
AdvertiseBase.javaClass This component is a base class for (server) bootstrap advertisers.

Per-protocol subclasses call AdvertiseBase.addAdvertiser to create an inner Advertiser class per bootstrap location (e.g.

AdvertiseManager.javaClass This component runs in white pages servers to advertise locally-bound Bundle s from the org.cougaar.core.wp.resolver.LeaseManager through the advertisers (rmi, http, multicast, etc).
AdvertiseService.javaInterface This service is used by advertisers to listen for local agent bind/unbind changes.
BootstrapService.javaInterface This service is used by the client's server selection to start/stop the discovery components.
Bundle.javaClass Bootstrap data for a single agent, including its org.cougaar.core.service.wp.AddressEntry s.

The UID is an optional tag to track version changes.

BundleDecoder.javaClass Decode Bundle s and Cert s from encoded text.
BundleEncoder.javaClass Encode Bundle s and Cert s to encoded text.
BundleService.javaInterface This service provides Bundle s for local agents bound in the org.cougaar.core.wp.resolver.LeaseManager .
ConfigManager.javaClass This component provides the ConfigService that loads the static ConfigReader contents.

The ConfigService supports changes and removals, but for now we don't use these methods.

ConfigReader.javaClass This utility class reads "-Dorg.cougaar.name.server" system properties and the "alpreg.ini" for bootstrap Bundle s provided by the ConfigService .
ConfigService.javaInterface This service provides the initial Bundle configuration.
DiscoveryBase.javaClass This component is a base class for (client) bootstrap discoverers.

Per-protocol subclasses call DiscoveryBase.addPoller to create an inner Poller class per bootstrap location (e.g.

DiscoveryManager.javaClass This component advertises the BootstrapService , which starts/stops the discovery pollers to find bootstrap Bundle s and copy them into the org.cougaar.core.wp.resolver.CacheManager 's HintService .
DiscoveryService.javaInterface This service is used by discovery pollers to listen for start/stop requests and pass their findings to the cache.
EnsureIsFoundManager.javaClass This component advertises the EnsureIsFoundService , which allows servers to ensures that their peers are reachable.

This implementation maintains the Set of ensured names and, if non-empty, continually polls (non-blocking) the local WhitePagesService to make sure the WhitePagesService.getAll(Stringlong) s return non-empty data, otherwise it starts the BootstrapService until the data is found.

This is slightly inefficient for a couple reasons:

  1. We're polling our cache even if the names are not necessary at all times (e.g.
EnsureIsFoundService.javaInterface This service is used by the peer manager to ensure that server peers are found by the discovery bootstrapper.

Unlike the usual discovery mechanism, which is stopped once it finds a suitable server, a node containing a server must discover all its peers for replication to work.

HintService.javaInterface This service is provided by the org.cougaar.core.wp.resolver.CacheManager to bootstrap discovered Bundle s into the local cache.
PeersManager.javaClass This component provides the PeersService , to tell the server about their peer servers.

This is a very simple implementation that is based on the ConfigService.

PeersService.javaInterface This service is used by servers to locate theirs peers, which is required for replication.
ServersService.javaInterface This service is used by the org.cougaar.core.wp.resolver.SelectManager to list potental servers.

Currently these servers are found through the bootstrap, but this could be enhanced to allow server-side control.

ServiceFinder.javaClass A utility class to hide late-binding Service lookups.
Util.javaClass Bootstrap utility methods.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.