A C E G H M O P R S T

A

AbstractAnnotatedModule - Class in org.apache.hivemind.annotations
Ancestor for annotated module classes.
AbstractAnnotatedModule() - Constructor for class org.apache.hivemind.annotations.AbstractAnnotatedModule
 
annotatedMethodHasInvalidModifiers(Method, String, int) - Static method in class org.apache.hivemind.annotations.AnnotationsMessages
 
annotatedMethodIsProtectedAndNotAccessible(Method, String) - Static method in class org.apache.hivemind.annotations.AnnotationsMessages
 
AnnotatedModuleLocation - Class in org.apache.hivemind.annotations.internal
Implementation of the Location interface.
AnnotatedModuleLocation(Resource, Class, Method) - Constructor for class org.apache.hivemind.annotations.internal.AnnotatedModuleLocation
 
AnnotatedModuleLocation(Resource, Class) - Constructor for class org.apache.hivemind.annotations.internal.AnnotatedModuleLocation
 
AnnotatedModuleProcessor - Class in org.apache.hivemind.annotations.internal
Does the work for AnnotatedModuleReader.
AnnotatedModuleProcessor(RegistryDefinition, ClassResolver, ErrorHandler) - Constructor for class org.apache.hivemind.annotations.internal.AnnotatedModuleProcessor
 
AnnotatedModuleReader - Class in org.apache.hivemind.annotations
Reads a annotated hivemind module into a RegistryDefinition.
AnnotatedModuleReader(RegistryDefinition) - Constructor for class org.apache.hivemind.annotations.AnnotatedModuleReader
 
AnnotatedModuleReader(RegistryDefinition, ClassResolver, ErrorHandler) - Constructor for class org.apache.hivemind.annotations.AnnotatedModuleReader
 
AnnotatedRegistryBuilder - Class in org.apache.hivemind.annotations
Helper class for defining hivemind registries that mainly base on annotated modules.
AnnotatedRegistryBuilder() - Constructor for class org.apache.hivemind.annotations.AnnotatedRegistryBuilder
Constructor that uses default implementations of ClassResolver, ErrorHandler and Locale.
AnnotatedRegistryBuilder(ClassResolver, ErrorHandler, Locale) - Constructor for class org.apache.hivemind.annotations.AnnotatedRegistryBuilder
Creates a new instance.
AnnotationsMessages - Class in org.apache.hivemind.annotations
Used to format messages used in errors and log output for classes within the impl package.
AnnotationsMessages() - Constructor for class org.apache.hivemind.annotations.AnnotationsMessages
 
autowireProperties(T) - Method in class org.apache.hivemind.annotations.AbstractAnnotatedModule
Autowires any object by use of the Autowiring service.

C

checkMethodModifiers(Method, int, String) - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleProcessor
Ensures that an annotated method has only allowed modifiers.
checkModuleClassPrerequisites(Class) - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleProcessor
Ensures that a module class fulfills all prerequisites.
configuration(String, Class<T>) - Method in class org.apache.hivemind.annotations.AbstractAnnotatedModule
Returns the specified configuration from the registry.
configuration(Class<T>) - Method in class org.apache.hivemind.annotations.AbstractAnnotatedModule
Finds a configuration by its type.
Configuration - Annotation Type in org.apache.hivemind.annotations.definition
Marks a method in an annotated module as configuration point.
constructCoreServiceImplementation(ImplementationConstructionContext) - Method in class org.apache.hivemind.annotations.internal.MethodCallImplementationConstructor
 
constructRegistry(String...) - Method in class org.apache.hivemind.annotations.AnnotatedRegistryBuilder
Constructs a registry from a couple of annotated module classes specified by their name.
constructRegistry(Class...) - Method in class org.apache.hivemind.annotations.AnnotatedRegistryBuilder
Constructs a registry from a couple of annotated module classes specified by their class definitions.
contribute(ContributionContext) - Method in class org.apache.hivemind.annotations.internal.MethodCallContributionConstructor
 
Contribution - Annotation Type in org.apache.hivemind.annotations.definition
Marks a method in an annotated module as contribution to a configuration point.
createModuleLocation(Class) - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleProcessor
Creates a location pointing at the module class.

E

equals(Object) - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleLocation
 

G

getAutowiring() - Method in class org.apache.hivemind.annotations.AbstractAnnotatedModule
 
getAutowiring() - Method in class org.apache.hivemind.annotations.internal.TypedRegistryImpl
 
getAutowiring() - Method in interface org.apache.hivemind.annotations.TypedRegistry
Returns a reference to the Autowiring service.
getConfiguration(String, Class<T>) - Method in class org.apache.hivemind.annotations.internal.TypedRegistryImpl
 
getConfiguration(Class<T>) - Method in class org.apache.hivemind.annotations.internal.TypedRegistryImpl
 
getConfiguration(String, Class<T>) - Method in interface org.apache.hivemind.annotations.TypedRegistry
Returns the specified configuration from the registry.
getConfiguration(Class<T>) - Method in interface org.apache.hivemind.annotations.TypedRegistry
Finds a configuration by its type.
getLocation() - Method in class org.apache.hivemind.annotations.internal.MethodCallContributionConstructor
 
getMethod() - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleLocation
 
getModuleClass() - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleLocation
 
getModuleInstance() - Method in interface org.apache.hivemind.annotations.internal.ModuleInstanceProvider
 
getModuleInstance() - Method in class org.apache.hivemind.annotations.internal.ModuleInstanceProviderImpl
 
getPosition() - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleLocation
Returns the position in format "class x, method y"
getRegistry() - Method in class org.apache.hivemind.annotations.AbstractAnnotatedModule
 
getResource() - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleLocation
 
getService(String, Class<T>) - Method in class org.apache.hivemind.annotations.internal.TypedRegistryImpl
 
getService(Class<T>) - Method in class org.apache.hivemind.annotations.internal.TypedRegistryImpl
 
getService(String, Class<T>) - Method in interface org.apache.hivemind.annotations.TypedRegistry
Returns a service from the registry.
getService(Class<T>) - Method in interface org.apache.hivemind.annotations.TypedRegistry
Finds a service that implements the provided interface.

H

hashCode() - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleLocation
 

M

MethodCallContributionConstructor - Class in org.apache.hivemind.annotations.internal
Contributes to a configuration point by passing the configuration container to a method defined in an annotated module by use of the Contribution annotation.
MethodCallContributionConstructor(Location, Method, ModuleInstanceProvider) - Constructor for class org.apache.hivemind.annotations.internal.MethodCallContributionConstructor
 
MethodCallImplementationConstructor - Class in org.apache.hivemind.annotations.internal
Constructs a service implementation by calling a factory method defined in an annotated module by use of the Service annotation.
MethodCallImplementationConstructor(Location, Method, ModuleInstanceProvider) - Constructor for class org.apache.hivemind.annotations.internal.MethodCallImplementationConstructor
 
Module - Annotation Type in org.apache.hivemind.annotations.definition
Marks a class as an annotated module and assigns an id to it.
moduleClassHasInvalidModifiers(Class, int) - Static method in class org.apache.hivemind.annotations.AnnotationsMessages
 
moduleClassIsPackagePrivate(Class) - Static method in class org.apache.hivemind.annotations.AnnotationsMessages
 
ModuleInstanceProvider - Interface in org.apache.hivemind.annotations.internal
Reponsible for the creation of the single instance of an annotated module class.
ModuleInstanceProviderImpl - Class in org.apache.hivemind.annotations.internal
Implementation of ModuleInstanceProvider.
ModuleInstanceProviderImpl(Class, String) - Constructor for class org.apache.hivemind.annotations.internal.ModuleInstanceProviderImpl
 

O

org.apache.hivemind.annotations - package org.apache.hivemind.annotations
 
org.apache.hivemind.annotations.definition - package org.apache.hivemind.annotations.definition
 
org.apache.hivemind.annotations.internal - package org.apache.hivemind.annotations.internal
 

P

processModule(Class) - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleProcessor
 
processModule(Class, String) - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleProcessor
Processes a module.

R

readModule(String) - Method in class org.apache.hivemind.annotations.AnnotatedModuleReader
Reads an annotated module specified by its classname.
readModule(Class) - Method in class org.apache.hivemind.annotations.AnnotatedModuleReader
Reads an annotated module.
registryInitialized(RegistryInfrastructure) - Method in class org.apache.hivemind.annotations.internal.ModuleInstanceProviderImpl
Called after initialization of the registry infrastructure.

S

service(String, Class<T>) - Method in class org.apache.hivemind.annotations.AbstractAnnotatedModule
Returns a service from the registry.
service(Class<T>) - Method in class org.apache.hivemind.annotations.AbstractAnnotatedModule
Finds a service that implements the provided interface.
Service - Annotation Type in org.apache.hivemind.annotations.definition
Marks a method in an annotated module as service point.
setRegistry(TypedRegistry) - Method in class org.apache.hivemind.annotations.AbstractAnnotatedModule
This setter is used to inject the registry reference.
shutdown() - Method in class org.apache.hivemind.annotations.internal.TypedRegistryImpl
 
shutdown() - Method in interface org.apache.hivemind.annotations.TypedRegistry
 
Submodule - Annotation Type in org.apache.hivemind.annotations.definition
Defines a submodule of an annotated module.

T

toString() - Method in class org.apache.hivemind.annotations.internal.AnnotatedModuleLocation
 
TypedRegistry - Interface in org.apache.hivemind.annotations
Specialized interface for the Registry access from annotated modules.
TypedRegistryImpl - Class in org.apache.hivemind.annotations.internal
Implementation of TypedRegistry.
TypedRegistryImpl(Module, RegistryInfrastructure) - Constructor for class org.apache.hivemind.annotations.internal.TypedRegistryImpl
 

A C E G H M O P R S T

Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.