Package | Description |
---|---|
org.wamblee.system.adapters | |
org.wamblee.system.container | |
org.wamblee.system.core | |
org.wamblee.system.graph.component | |
org.wamblee.system.spring |
Modifier and Type | Method and Description |
---|---|
List<ProvidedInterface> |
ClassConfiguration.getProvidedInterfaces() |
Modifier and Type | Method and Description |
---|---|
DefaultContainer |
DefaultContainer.addProvidedInterface(ProvidedInterface aProvided) |
Modifier and Type | Method and Description |
---|---|
Container |
Container.addProvidedInterface(ProvidedInterface aProvided) |
Constructor and Description |
---|
Container(String aName,
Component[] aComponents,
ProvidedInterface[] aProvided,
RequiredInterface[] aRequired)
Constructs the container
|
Constructor and Description |
---|
Container(String aName,
Component[] aComponents,
List<ProvidedInterface> aProvided,
List<RequiredInterface> aRequired)
Constructs the container
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultProvidedInterface
Default implementation of a service descriptor.
|
Modifier and Type | Method and Description |
---|---|
ProvidedInterface |
AbstractComponent.findProvidedInterface(String aName) |
ProvidedInterface |
DefaultRequiredInterface.getProvider() |
ProvidedInterface |
RequiredInterface.getProvider()
Gets the provider interface.
|
Modifier and Type | Method and Description |
---|---|
List<ProvidedInterface> |
Scope.getProvidedInterfaces()
Gets the provided interfaces by this scope.
|
List<ProvidedInterface> |
Component.getProvidedInterfaces()
Gets a description of the provided interfaces.
|
List<ProvidedInterface> |
AbstractComponent.getProvidedInterfaces() |
List<ProvidedInterface> |
DefaultScope.getProvidedInterfaces() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractComponent.addInterface(ProvidedInterface aDescriptor,
Object aService,
Scope aScope)
Implementations must call this method to indicate that a new service has
been started.
|
AbstractComponent<Type> |
AbstractComponent.addProvidedInterface(ProvidedInterface aProvided) |
boolean |
DefaultProvidedInterface.covers(ProvidedInterface aInterface) |
boolean |
ProvidedInterface.covers(ProvidedInterface aInterface)
Determines whether the current provided interface exceeds the given
provided interface.
|
<T> T |
Scope.getInterfaceImplementation(ProvidedInterface aProvided,
Class<T> aType) |
<T> T |
DefaultScope.getInterfaceImplementation(ProvidedInterface aInterface,
Class<T> aType) |
boolean |
DefaultRequiredInterface.implementedBy(ProvidedInterface aDescriptor) |
boolean |
RequiredInterface.implementedBy(ProvidedInterface aInterface)
Checks if the service is provided by a given provided interface.
|
void |
Scope.publishInterface(ProvidedInterface aInterface,
Object aImplementation)
Publishes an implementation of a provided interface.
|
void |
DefaultScope.publishInterface(ProvidedInterface aInterface,
Object aImplementation) |
void |
DefaultRequiredInterface.setProvider(ProvidedInterface aProvider) |
void |
RequiredInterface.setProvider(ProvidedInterface aProvider)
Sets the provider of this interface.
|
Constructor and Description |
---|
AbstractComponent(String aName,
ProvidedInterface[] aProvided,
RequiredInterface[] aRequired)
Constructs the subsystem.
|
DefaultScope(ProvidedInterface[] aExternallyProvided)
Creates a new DefaultScope object.
|
DefaultScope(ProvidedInterface[] aExternallyProvided,
List<Scope> aParent)
Creates a new DefaultScope object.
|
DefaultScope(ProvidedInterface[] aExternallyProvided,
Scope aParent)
Creates a new DefaultScope object.
|
Constructor and Description |
---|
AbstractComponent(String aName,
List<ProvidedInterface> aProvided,
List<RequiredInterface> aRequired)
Constructs the subsystem.
|
DefaultScope(List<ProvidedInterface> aExternallyProvided)
Creates a new DefaultScope object.
|
Modifier and Type | Method and Description |
---|---|
ProvidedInterface |
ExternalProvidedInterfaceNode.getProvided() |
ProvidedInterface |
ProvidedInterfaceNode.getProvided() |
Modifier and Type | Method and Description |
---|---|
List<Pair<ProvidedInterface,ProvidedInterface>> |
ComponentGraph.findExternalProvidedInterfaceMapping()
Finds a list of mappings of external provided interface to internal
provided interface.
|
List<Pair<ProvidedInterface,ProvidedInterface>> |
ComponentGraph.findExternalProvidedInterfaceMapping()
Finds a list of mappings of external provided interface to internal
provided interface.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentGraph.addProvidedInterface(Component aComponent,
ProvidedInterface aInterface)
Adds an externally provided interface of a container.
|
Constructor and Description |
---|
ExternalProvidedInterfaceNode(Component aComponent,
ProvidedInterface aProvided)
Creates a new ExternalProvidedInterfaceNode object.
|
ProvidedInterfaceNode(Component aComponent,
ProvidedInterface aProvided)
Creates a new ProvidedInterfaceNode object.
|
Constructor and Description |
---|
SpringComponent(String aName,
String[] aConfigFiles,
Map<String,ProvidedInterface> aProvided,
Map<RequiredInterface,String> aRequired)
Constructs a spring system.
|
Copyright © 2022. All rights reserved.