| org.cougaar.core.component.Component
All known Subclasses: org.cougaar.core.mts.singlenode.SingleNodeMTSProvider, org.cougaar.core.agent.service.containment.AgentContainmentServiceComponent, org.cougaar.core.node.GetServiceComponent, org.cougaar.core.node.FileComponentInitializerServiceComponent, org.cougaar.core.wp.bootstrap.DiscoveryManager, org.cougaar.core.node.DefaultAgentIdentityComponent, org.cougaar.core.wp.bootstrap.ConfigManager, org.cougaar.lib.web.axis.blackboardCount.BlackboardCountPlugin, org.cougaar.core.agent.MessageSwitchShutdown, org.cougaar.mts.std.DestinationQueueMonitorPlugin, org.cougaar.core.qos.profile.ProfilerBase, org.cougaar.community.init.CommunityInitializerServiceComponent, org.cougaar.core.wp.resolver.CacheManager, org.cougaar.core.agent.RehydrateEarly, org.cougaar.core.agent.Reconcile, org.cougaar.core.wp.server.ServerTransport, org.cougaar.core.thread.ThreadServiceProvider, org.cougaar.lib.web.redirect.HttpServletRedirector, org.cougaar.core.agent.Bootstrap, org.cougaar.core.node.AgentLoader, org.cougaar.core.agent.FindComponentsEarly, org.cougaar.core.agent.RehydrateLate, org.cougaar.planning.ldm.LDMServiceComponent, org.cougaar.lib.web.micro.mts.MessagingServletEngine, org.cougaar.planning.examples.MetricsLoggerComponent, org.cougaar.core.wp.server.RootAuthority, org.cougaar.core.agent.EndLogger, org.cougaar.core.node.QuiescenceReportComponent, org.cougaar.planning.plugin.legacy.PluginAdapter, org.cougaar.core.wp.bootstrap.AdvertiseBase, org.cougaar.core.wp.LoopbackWhitePages, org.cougaar.core.component.ParameterizedComponent, org.cougaar.core.blackboard.BlackboardClientComponent, org.cougaar.core.qos.profile.ProfilerCoordinator, org.cougaar.core.wp.resolver.Resolver, org.cougaar.core.domain.RootDomain, org.cougaar.core.wp.bootstrap.DiscoveryBase, org.cougaar.core.node.DBComponentInitializerServiceComponent, org.cougaar.core.agent.NodeControlBlocker, org.cougaar.core.node.NodeMetrics, org.cougaar.lib.web.redirect.ServletRedirectorRegistry, org.cougaar.lib.web.engine.AbstractServletEngine, org.cougaar.lib.web.service.LeafServletServiceComponent, org.cougaar.core.agent.QueueHandler, org.cougaar.lib.web.axis.WebServicesProvider, org.cougaar.core.agent.service.event.EventServiceComponent, org.cougaar.core.agent.RegisterContext, org.cougaar.core.agent.service.scheduler.SchedulerServiceComponent, org.cougaar.core.node.NodeBusyComponent, org.cougaar.servicediscovery.service.UDDI4JRegistryQueryServiceComponent, org.cougaar.core.wp.bootstrap.config.ConfigDiscovery, org.cougaar.core.wp.server.Server, org.cougaar.core.logging.DieOnErrorComponent, org.cougaar.lib.web.service.RootServletServiceComponent, org.cougaar.core.wp.resolver.LeaseManager, org.cougaar.core.servlet.BaseServletComponent, org.cougaar.core.agent.service.uid.UIDServiceComponent, org.cougaar.core.agent.service.id.AgentIdentificationServiceComponent, org.cougaar.core.agent.DemoControl, org.cougaar.planning.plugin.legacy.StateModelAdapter, org.cougaar.core.agent.Topology, org.cougaar.core.node.AddServiceComponent, org.cougaar.core.agent.MessageSwitchUnpend, org.cougaar.core.wp.bootstrap.PeersManager, org.cougaar.core.agent.MessageSwitch, org.cougaar.core.node.SetPropertiesComponent, org.cougaar.core.domain.DomainAdapter, org.cougaar.planning.ldm.PrototypeRegistryServiceComponent, org.cougaar.core.agent.BeginLogger, org.cougaar.core.wp.bootstrap.EnsureIsFoundManager, org.cougaar.core.node.HeartbeatComponent, org.cougaar.core.agent.Events, org.cougaar.core.persist.PersistenceServiceComponent, org.cougaar.core.wp.resolver.SelectManager, org.cougaar.core.component.ComponentSupport, org.cougaar.core.servlet.ComponentServlet, org.cougaar.core.node.service.jvmdump.JvmStackDumpServiceComponent, org.cougaar.core.blackboard.StandardBlackboard, org.cougaar.core.node.LoggingServiceComponent, org.cougaar.core.wp.bootstrap.AdvertiseManager, org.cougaar.core.node.Incarnation, org.cougaar.core.node.NaturalTimeComponent, org.cougaar.core.agent.AcquireIdentity, org.cougaar.core.agent.RegisterAgent, org.cougaar.lib.web.micro.mts.MessagingServletTunnel, org.cougaar.core.agent.ReconcileEnabler, org.cougaar.core.thread.TrivialThreadServiceProvider, org.cougaar.core.wp.resolver.ResolverProxy, org.cougaar.core.node.SuicideServiceComponent, org.cougaar.core.wp.resolver.TransportBase, org.cougaar.lib.web.engine.ServletEngineRegistry, org.cougaar.planning.ldm.AssetInitializerServiceComponent, org.cougaar.core.node.XMLComponentInitializerServiceComponent, org.cougaar.core.agent.FindComponentsLate, org.cougaar.core.agent.AlarmComponent, org.cougaar.core.node.RealTimeComponent,
Component | public interface Component extends GenericStateModel(Code) | | A Component is the base class of the Component and
Service Model. Components form a strict hierarchy
via Container/Contained relationships and may have
any number of additional (possibly mediated) client/server
relationships.
A component must implement the childAPI required by it's container.
Construction of a component consists of the following steps:
1. zero-argument constructor is called.
2. if a ComponentDescription is being used to create the
component, and it specifies a non-null parameter, the optional
setParameter(Object) method is called with the parameter as the
argument. A ComponentFactoryException will be thrown if the
parameter is non-null, but no setParameter(Object) method is
defined.
3. The binder (if capable) will use introspection to
find setX(X) methods where X is a known service in the Context.
Any such methods will be called with matching service instances
or null if no such service was available. If the service
is later revoked, the set methods will be called with null.
Note that such methods should be very simple and only set
data members: in particular, they should not invoke the service
because it is undefined which thread of execution it will
be invoked in and may not actually have permission to use
the service instance passed.
4. the binder will call the initialize(BindingSite x) method
where x is the binder chosen for this component.
Component is similar to BeanContextChild.
See Also: BeanContextChild |
|
|