public interface Component<Type>
start(Scope)
, an actual runtime representation of the component can
be created which is independent of this component. As a special case, the
runtime representation may be identical to the component instance but in
general it is not. This allows a component to be used as a factory for
creating objects.Modifier and Type | Method and Description |
---|---|
void |
addContext(String aContext)
Prepends the context with a super context.
|
String |
getContext()
Getst the context.
|
String |
getName()
Gets the name of the subsystem.
|
List<ProvidedInterface> |
getProvidedInterfaces()
Gets a description of the provided interfaces.
|
String |
getQualifiedName()
Gets the fully qualified name of the component which includes the context
of the component.
|
List<RequiredInterface> |
getRequiredInterfaces()
Gets a description of the required interfaces.
|
Type |
start(Scope aScope)
Initialises the subsystem by starting all the services that it described
as provided.
|
void |
stop(Type aRuntime)
Stops a component.
|
String getName()
void addContext(String aContext)
String getContext()
String getQualifiedName()
List<ProvidedInterface> getProvidedInterfaces()
List<RequiredInterface> getRequiredInterfaces()
Type start(Scope aScope)
aScope
- Scope with external interface implementations that are
available. The component must publish its runtime and its
provided interfaces in this scope.void stop(Type aRuntime)
aRuntime
- THe runtime part of the component.Copyright © 2022. All rights reserved.