org.cougaar.core.component

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.component 
org.cougaar.core.component
Java Source File NameTypeComment
AddonServiceBroker.javaClass A Simple ServiceBroker which does a simple delegation of service requests for most purposes, except that it has an escape hatch where extending classes may, in effect, themselves offer services directly to the requestors.
Binder.javaInterface A Binder is an implementation of a BindingSite: that is an implementation of the Service-like relationship API between a child component and its parent.
BinderBase.javaClass BinderBase contains logic for the parent link (ContainerAPI) but not the child link.
BinderFactory.javaInterface A BinderFactory provides Binder instances on behalf of a ContainingComponent or ServiceProvider to wrap Child components.

BinderFactories are generally themselves specially bound by only by a trivial binder, so the "parent" component link is supplied shortly after construction by a call to the setContainer method.

BinderFactorySupport.javaClass Implement the basics of a BinderFactory.
BinderFactoryWrapper.javaInterface An idea for the future: A BinderFactory which encapsulates all BinderFactories known to a component of a lower priority.
BinderSupport.javaClass A Shell implementation of a Binder which does introspection-based initialization and hooks for startup of the child component.
BinderWrapper.javaClass A base class for a BinderWrapper: A binder which is interposed between a container and another binder.
BindingSite.javaInterface A BindingSite class names and specifies a specific parent Component (Container) to child Component relationship API, e.g.
BindingUtility.javaClass
BoundComponent.javaClass A pair of Binder and Component, useful for keeping state in Containers.
Component.javaInterface A Component is the base class of the Component and Service Model.
ComponentDescription.javaClass An immutable description of a loadable component (for example, a plugin, servlet, etc).

We may want several levels of description and protection, starting here and ending up at an uninitialized instance.

ComponentDescriptions.javaClass A utility class for manipulating sets of ComponentDescription objects.

Contains both ComponentDescriptions and StateTuples.

ComponentFactory.javaClass A base class useful for creating components and instilling the "breath of life" (initial services) on behalf of manager objects.
ComponentFactoryException.javaClass RuntimeException thrown by ComponentFactory This was a checked exception until Cougaar 9.2.
ComponentLoadFailure.javaClass RuntimeException thrown when a component cannot be loaded.
ComponentModelEvent.javaClass Service event is a base class for all Service, Binder and Component Model Events, analogous.
ComponentRuntimeException.javaClass Base class ComponentModel RuntimeException. This exception and it's extending classes is used by the component model internals to signal problems.
ComponentSupport.javaClass A base class for component implementations.
ComponentView.javaInterface A ViewService view of a component, providing visibility into the component's ComponentDescription and advertised/obtained services.
ContainedBinderSupport.javaClass A Binder implementation which proxies the ServiceBroker with an AddonServiceBroker offering a ContainedService instance.
ContainedService.javaInterface A service which may be made available to a contained component which allows access to various controls and information about the context in which the component is loaded.
Container.javaInterface A Component which contains other components.

A Container plays a role similar to a BeanContext.

Most Collection operations (add, remove, contains, etc) expect either ComponentDescription or Component instances as arguments, depending upon the caller and this component's container.

ContainerAPI.javaInterface ContainerAPI is the interface used by Binder and/or BinderFactory to invoke Binder-privileged methods on the parent Container.
ContainerBinder.javaInterface Binder for a child that is a Container.
ContainerBinderSupport.javaClass A Shell implementation of a ContainerBinder based upon BinderSupport.
ContainerSupport.javaClass The standard implementation of a Container.

Although this implementation defines many protected methods, it is long overdue for a major refactor, so developers should avoid complex subclassing to allow for future ContainerSupport cleanup. A simple ContainerSupport subclass, such as this example in core:
org.cougaar.core.wp.resolver.ResolverContainer
will only define the two required abstract methods and allow child components to advertise any necessary services.

Future refactor ideas include:

  • Obvious overall code cleanup into smaller classes and cleaner code.
  • Remove last remnants of component proprity (HIGH/BINDER/etc), since the core no longer uses it (bug 2522).
  • Replace "*.Binder" and ".BinderFactory" insertion point extension and "attachBinderFactory" with a new "BinderFactoryService" advertised by this container, and fix BinderFactories/Binders to use the new service.
  • Make a clearer distinction between binders that instantiate components v.s.
ContainerView.javaInterface A ViewService view of a container component, which extends ComponentView by adding child views.
DelegatingServiceBroker.javaClass A Simple ServiceBroker which just delegates all queries to another, useful for making restricted extentions.
ExtendedServiceBroker.javaInterface A ServiceBroker with extended methods to support the ViewService .

Note: This is an infrastructure mechanism to support the ViewService .

IncorrectInsertionPointException.javaClass Marker class for a Container "add(..)" attempt to the wrong component insertion point.
NullService.javaInterface This is a marker API for blocked services.
ParameterizedComponent.javaClass Simple Component base class that provides named paramater support.
PropagatingServiceBroker.javaClass A service broker which implements not just a local SB, but also a pass-through to another (presumably higher-level) SB.
Service.javaInterface A Service is an abstract Service API which may be supplied by a ServiceProvider which may be registered in a ServiceBroker object.
ServiceAvailableEvent.javaClass ServiceAvailableEvent indicates that a new service is available to clients of a ServiceBroker.
ServiceAvailableListener.javaInterface
ServiceBroker.javaInterface Cougaar component Service Broker.
ServiceBrokerSupport.javaClass Simple implementation of Cougaar component services layer.
ServiceEvent.javaClass
ServiceFilter.javaClass A BinderFactoryWrapper which wraps components using a Binder which examines and, optionally, modifies, wraps, or audits service requests.
ServiceFilterBinder.javaClass A Wrapper Binder contructed by ServiceFilter which watches service requests and has convenient overridable points where extensions may monitor, edit, veto or wrap services requested by the client.
ServiceListener.javaInterface Base interface for all service listeners.
ServiceProvider.javaInterface
ServiceRevokedEvent.javaClass ServiceRevokedEvent indicates that a service has been revoked in a service context.
ServiceRevokedListener.javaInterface
ServiceView.javaInterface A ViewService view of an advertised or obtained service.
StateObject.javaInterface An Object that contains internal state.

Component mobility and persistence requires the saving and restoration of internal Component state.

StateTuple.javaClass A tuple containing a Component description and the Component's state.
ViewedServiceBroker.javaClass A per-component ServiceBroker proxy that supports the ViewService .
ViewService.javaInterface This service allows a component to see its ComponentDescription , the services it has obtained, and additional component model information.

This is primarily a user interface service.

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