Package | Description |
---|---|
org.apache.hivemind |
The main HiveMind package.
|
org.apache.hivemind.impl |
Implementations of interfaces defined in the org.apache.commons.hivemind package.
|
org.apache.hivemind.internal | |
org.apache.hivemind.parse |
Classes used to parse HiveMind module deployment descriptors, and descriptor objects
that represent the parsed information.
|
org.apache.hivemind.schema |
Interfaces defining
Schema support (used to process
extension point contributions and service parameters). |
org.apache.hivemind.schema.impl |
Implementations of schema-related intefaces defined in package
org.apache.hivemind.schema.
|
org.apache.hivemind.schema.rules |
Implementations of the
Rule
and
Translator interfaces. |
org.apache.hivemind.service |
Definitions of services provided by the
hivemind module. |
org.apache.hivemind.service.impl |
Implementations of services provided by the
hivemind module. |
org.apache.hivemind.util |
Implementations of
Resource and related utilities. |
Modifier and Type | Method and Description |
---|---|
Module |
ServiceImplementationFactoryParameters.getInvokingModule()
The module containing the service constructor.
|
Module |
InterceptorStack.getServiceModule()
Returns the module which contains the service extension point.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceInterceptorFactory.createInterceptor(InterceptorStack stack,
Module invokingModule,
java.util.List parameters)
Creates an interceptor and pushes it onto the interceptor stack.
|
Modifier and Type | Class and Description |
---|---|
class |
ModuleImpl
Implementation of
Module . |
Modifier and Type | Method and Description |
---|---|
Module |
ContributionImpl.getContributingModule() |
Module |
CreateClassServiceConstructor.getContributingModule() |
Module |
InvokeFactoryServiceConstructor.getContributingModule() |
Module |
SchemaProcessorImpl.getContributingModule() |
Module |
SchemaProcessorImpl.getDefiningModule() |
Module |
ServiceImplementationFactoryParametersImpl.getInvokingModule() |
Module |
AbstractExtensionPoint.getModule() |
Module |
RegistryInfrastructureImpl.getModule(java.lang.String moduleId) |
Module |
InterceptorStackImpl.getServiceModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
RegistryInfrastructureImpl.containsConfiguration(java.lang.String configurationId,
Module module) |
boolean |
RegistryInfrastructureImpl.containsService(java.lang.Class serviceInterface,
Module module) |
boolean |
RegistryInfrastructureImpl.containsService(java.lang.String serviceId,
java.lang.Class serviceInterface,
Module module) |
java.util.List |
RegistryInfrastructureImpl.getConfiguration(java.lang.String configurationId,
Module module) |
java.util.Map |
RegistryInfrastructureImpl.getConfigurationAsMap(java.lang.String configurationId,
Module module) |
ConfigurationPoint |
RegistryInfrastructureImpl.getConfigurationPoint(java.lang.String configurationId,
Module module) |
java.lang.Object |
RegistryInfrastructureImpl.getService(java.lang.Class serviceInterface,
Module module) |
java.lang.Object |
RegistryInfrastructureImpl.getService(java.lang.String serviceId,
java.lang.Class serviceInterface,
Module module) |
ServicePoint |
RegistryInfrastructureImpl.getServicePoint(java.lang.String serviceId,
Module module) |
boolean |
RegistryInfrastructureImpl.isConfigurationMappable(java.lang.String configurationId,
Module module) |
void |
SchemaProcessorImpl.process(java.util.List elements,
Module contributingModule)
Processes a single extension.
|
void |
ContributionImpl.setContributingModule(Module module) |
void |
CreateClassServiceConstructor.setContributingModule(Module module) |
void |
InvokeFactoryServiceConstructor.setContributingModule(Module module) |
void |
ServiceInterceptorContributionImpl.setContributingModule(Module module) |
void |
AbstractExtensionPoint.setModule(Module module) |
boolean |
AbstractExtensionPoint.visibleToModule(Module module)
Returns true if the extension point is public, or the extgension point is visible to the
module.
|
Constructor and Description |
---|
ServiceImplementationFactoryParametersImpl(ServicePoint servicePoint,
Module invokingModule,
java.util.List parameters) |
Modifier and Type | Method and Description |
---|---|
Module |
Contribution.getContributingModule()
Returns the module which made this contribution.
|
Module |
ServiceImplementationConstructor.getContributingModule()
Returns the module which created the contribution.
|
Module |
ExtensionPoint.getModule()
Returns the
Module containing the extension point. |
Module |
RegistryInfrastructure.getModule(java.lang.String moduleId)
Returns the module with the corresponding module id.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RegistryInfrastructure.containsConfiguration(java.lang.String configurationId,
Module module)
Returns true if a configuration for the specified id exists (and is visible to the specified
module).
|
boolean |
RegistryInfrastructure.containsService(java.lang.Class serviceInterface,
Module module)
Returns true if a single service exists which implements the specified service interface and
is visible to the given module.
|
boolean |
RegistryInfrastructure.containsService(java.lang.String serviceId,
java.lang.Class serviceInterface,
Module module)
Returns true if a single service with the given id exists which implements the specified
service interface and is visible to the given module.
|
java.util.List |
RegistryInfrastructure.getConfiguration(java.lang.String configurationId,
Module module)
Returns the converted items contributed to the configuration point.
|
java.util.Map |
RegistryInfrastructure.getConfigurationAsMap(java.lang.String configurationId,
Module module)
Returns the elements of the given configuration point as an unmodifiable
Map . |
ConfigurationPoint |
RegistryInfrastructure.getConfigurationPoint(java.lang.String configurationId,
Module module)
Returns the configuration point.
|
java.lang.Object |
RegistryInfrastructure.getService(java.lang.Class serviceInterface,
Module module)
Finds a service that implements the provided interface.
|
java.lang.Object |
RegistryInfrastructure.getService(java.lang.String serviceId,
java.lang.Class serviceInterface,
Module module)
Obtains a service from the registry.
|
ServicePoint |
RegistryInfrastructure.getServicePoint(java.lang.String serviceId,
Module module)
Returns the identified service extension point.
|
boolean |
RegistryInfrastructure.isConfigurationMappable(java.lang.String configurationId,
Module module)
Returns true if the elements contributed to the given configuration point can be
retrieved as a Map . |
boolean |
ExtensionPoint.visibleToModule(Module module)
Returns true if the extension point is visible to the specified module.
|
Modifier and Type | Method and Description |
---|---|
ServiceImplementationConstructor |
CreateInstanceDescriptor.createConstructor(ServicePoint point,
Module contributingModule) |
ServiceImplementationConstructor |
InstanceBuilder.createConstructor(ServicePoint point,
Module contributingModule)
Returns an instance of
ServiceImplementationConstructor
that will ultimately create the service implementation instance. |
ServiceImplementationConstructor |
InvokeFactoryDescriptor.createConstructor(ServicePoint point,
Module contributingModule) |
Modifier and Type | Method and Description |
---|---|
Module |
SchemaProcessor.getContributingModule()
Returns the module which contributed the current elements being processed.
|
Module |
Schema.getDefiningModule()
Return the Module in which the Schema was defined.
|
Module |
SchemaProcessor.getDefiningModule()
Return the module which defined the schema.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Translator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Invoked by a
Rule
to translate an inputValue into an appropriate object. |
Modifier and Type | Method and Description |
---|---|
Module |
SchemaImpl.getDefiningModule() |
Modifier and Type | Method and Description |
---|---|
void |
SchemaImpl.setModule(Module module) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
BooleanTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
ClassTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
ConfigurationTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
DoubleTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Converts the string to an Double.
|
java.lang.Object |
EnumerationTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
IdListTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
InstanceTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
IntTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Converts the string to an Integer.
|
java.lang.Object |
LongTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Converts the string to an Long.
|
java.lang.Object |
NullTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Returns the inputValue.
|
java.lang.Object |
QualifiedIdTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
ResourceTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Finds the resource.
|
java.lang.Object |
ServicePointTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
ServiceTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Returns null if the input is null or empty.
|
java.lang.Object |
SmartTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location)
Invoked by the translator to provide the value.
|
Modifier and Type | Method and Description |
---|---|
void |
LoggingInterceptorFactory.createInterceptor(InterceptorStack stack,
Module contributingModule,
java.util.List parameters)
Creates the interceptor.
|
java.lang.Object |
ClassObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location) |
java.lang.Object |
ConfigurationObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location)
A wrapper around
getConfiguration(String) . |
java.lang.Object |
ObjectInstanceObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location) |
java.lang.Object |
ServiceObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location)
Interprets the locator as a service id, and passes it to
getService(String, Class) . |
java.lang.Object |
ServicePropertyObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location) |
java.lang.Object |
ObjectTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
InstanceCreationUtils.createInstance(Module module,
java.lang.String initializer,
Location location)
Creates an instance.
|