public abstract class AbstractContributionDef extends Object implements ContributionDef
ContributionDef
, providing empty implementations of the
three contribute() methods.Constructor and Description |
---|
AbstractContributionDef() |
Modifier and Type | Method and Description |
---|---|
void |
contribute(ModuleBuilderSource moduleSource,
ServiceResources resources,
Configuration configuration)
Performs the work needed to contribute into the standard, unordered configuration.
|
void |
contribute(ModuleBuilderSource moduleSource,
ServiceResources resources,
MappedConfiguration configuration)
Performs the work needed to contribute into the mapped configuration.
|
void |
contribute(ModuleBuilderSource moduleSource,
ServiceResources resources,
OrderedConfiguration configuration)
Performs the work needed to contribute into the ordered configuration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceId
public AbstractContributionDef()
public void contribute(ModuleBuilderSource moduleSource, ServiceResources resources, Configuration configuration)
ContributionDef
contribute
in interface ContributionDef
moduleSource
- the source, if needed, of the module instance associated with the contributionresources
- allows access to services visible to the moduleconfiguration
- the unordered configuration into which values should be loaded. This instance will
encapsulate all related error checks (such as passing of nulls or inappropriate classes).public void contribute(ModuleBuilderSource moduleSource, ServiceResources resources, OrderedConfiguration configuration)
ContributionDef
contribute
in interface ContributionDef
moduleSource
- the source, if needed, of the module instance associated with the contributionresources
- allows access to services visible to the moduleconfiguration
- the ordered configuration into which values should be loaded. This instance will encapsulate
all related error checks (such as passing of nulls or inappropriate classes).public void contribute(ModuleBuilderSource moduleSource, ServiceResources resources, MappedConfiguration configuration)
ContributionDef
contribute
in interface ContributionDef
moduleSource
- the source, if needed, of the module instance associated with the contributionresources
- allows access to services visible to the moduleconfiguration
- the mapped configuration into which values should be loaded. This instance will encapsulate
all related error checks (such as passing of null keys or values or inappropriate classes,
or duplicate keys).5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.