A B C D E F G H I J L M N O P Q R S T U V W _

A

AbstractArgumentMatcher - Class in org.apache.hivemind.test
Base class that bridges from EasyMock's AbstractMatcher to HiveMind's ArgumentMatcher.
AbstractArgumentMatcher() - Constructor for class org.apache.hivemind.test.AbstractArgumentMatcher
 
AbstractConstructionContext - Class in org.apache.hivemind.internal
Default Implementation of ConstructionContext.
AbstractConstructionContext(Module) - Constructor for class org.apache.hivemind.internal.AbstractConstructionContext
 
AbstractExtensionPoint - Class in org.apache.hivemind.impl
 
AbstractExtensionPoint(Module, ExtensionPointDefinition) - Constructor for class org.apache.hivemind.impl.AbstractExtensionPoint
 
AbstractFab - Class in org.apache.hivemind.service.impl
Common code for ClassFabImpl and InterfaceFabImpl.
AbstractFab(CtClassSource, CtClass) - Constructor for class org.apache.hivemind.service.impl.AbstractFab
 
AbstractMessages - Class in org.apache.hivemind.impl
Abstract base class for implementations of Messages.
AbstractMessages() - Constructor for class org.apache.hivemind.impl.AbstractMessages
 
AbstractResource - Class in org.apache.hivemind.util
Abstract implementation of Resource.
AbstractResource(String) - Constructor for class org.apache.hivemind.util.AbstractResource
 
AbstractResource(String, Locale) - Constructor for class org.apache.hivemind.util.AbstractResource
 
AbstractServiceImplementationConstructor - Class in org.apache.hivemind.internal
Ancestor for implementations of ImplementationConstructor.
AbstractServiceImplementationConstructor(Location) - Constructor for class org.apache.hivemind.internal.AbstractServiceImplementationConstructor
 
AbstractServiceInterceptorConstructor - Class in org.apache.hivemind.internal
Ancestor for implementions of InterceptorConstructor.
AbstractServiceInterceptorConstructor(Location) - Constructor for class org.apache.hivemind.internal.AbstractServiceInterceptorConstructor
 
AbstractServiceModelImpl - Class in org.apache.hivemind.impl.servicemodel
Base class for implementing ServiceModel.
AbstractServiceModelImpl(ConstructableServicePoint) - Constructor for class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
 
activateService() - Method in interface org.apache.hivemind.PoolManageable
Invoked just after a service is either created, or just after it is removed from the service pool and bound to a new thread.
add(Object, String, String, String) - Method in class org.apache.hivemind.order.Orderer
Adds a new object.
add(String) - Method in class org.apache.hivemind.service.BodyBuilder
Adds text to the current line, without terminating the line.
add(String, Object[]) - Method in class org.apache.hivemind.service.BodyBuilder
Adds text to the current line, without terminating the line.
add(String, Object) - Method in class org.apache.hivemind.service.BodyBuilder
Convience for BodyBuilder.add(String, Object[])
add(String, Object, Object) - Method in class org.apache.hivemind.service.BodyBuilder
Convience for BodyBuilder.add(String, Object[])
add(String, Object, Object, Object) - Method in class org.apache.hivemind.service.BodyBuilder
Convience for BodyBuilder.add(String, Object[])
addCatch(Class, String) - Method in interface org.apache.hivemind.service.MethodFab
Adds a catch to the method.
addConfigurationParser(String, ConfigurationParserDefinition) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Adds a configuration parser for a configuration point which can be defined in this module or another module.
addConfigurationPoint(String, String) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionHelper
 
addConfigurationPoint(ConfigurationPointDefinition) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Adds a configuration point definition to the module.
addConfigurationPoint(ConfigurationPoint) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
addConstructor(Class[], Class[], String) - Method in interface org.apache.hivemind.service.ClassFab
Adds a constructor to the class.
addConstructor(Class[], Class[], String) - Method in class org.apache.hivemind.service.impl.ClassFabImpl
 
addContribution(ContributionDefinition) - Method in interface org.apache.hivemind.definition.ConfigurationPointDefinition
Adds a contribution.
addContribution(ContributionDefinition) - Method in class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
 
addContribution(String, ContributionDefinition) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Adds a contribution for a configuration point which can be defined in this module or another module.
addContributionDefinition(ConfigurationPointDefinition, Contribution) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionHelper
 
addContributionDefinition(String, Contribution) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionHelper
 
addControl(MockControl) - Method in class org.apache.hivemind.test.HiveMindTestCase
Adds the control to the list of managed controls used by HiveMindTestCase.replayControls() and HiveMindTestCase.verifyControls().
addDefaultModules(RegistryBuilder, ClassResolver) - Method in class org.apache.hivemind.servlet.AutoloadingHiveMindFilter
 
addDependency(String) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Defines a dependency on another module.
addEventListener(Object, String, Object, Location) - Method in interface org.apache.hivemind.service.EventLinker
Adds the consumer as a listener of events published by the producer.
addEventListener(Object, String, Object, Location) - Method in class org.apache.hivemind.service.impl.EventLinkerImpl
 
addField(String, Class) - Method in interface org.apache.hivemind.service.ClassFab
Adds a new field with the given name and type.
addField(String, Class) - Method in class org.apache.hivemind.service.impl.ClassFabImpl
 
addImplementation(String, ImplementationDefinition) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Adds a implementation for a service point which can be defined in this module or another module.
addImplementation(ImplementationDefinition) - Method in class org.apache.hivemind.definition.impl.ServicePointDefinitionImpl
 
addImplementation(ImplementationDefinition) - Method in interface org.apache.hivemind.definition.ServicePointDefinition
Adds an implementation definition to the service point.
addInterceptor(String, InterceptorDefinition) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Adds a interceptor for a service point which can be defined in this module or another module.
addInterceptor(InterceptorDefinition) - Method in class org.apache.hivemind.definition.impl.ServicePointDefinitionImpl
 
addInterceptor(InterceptorDefinition) - Method in interface org.apache.hivemind.definition.ServicePointDefinition
Adds an interceptor definition to the service point.
addInterceptors(Object) - Method in class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
 
addInterface(Class) - Method in interface org.apache.hivemind.service.ClassFab
Adds the specified interface as an interface implemented by this class.
addInterface(Class) - Method in class org.apache.hivemind.service.impl.AbstractFab
 
addInterface(Class) - Method in interface org.apache.hivemind.service.InterfaceFab
Adds the specified interface as an interface extended by this interface.
addListener(Object) - Method in class org.apache.hivemind.util.EventListenerList
Adds a new listener to the list of listeners.
addln(String, Object[]) - Method in class org.apache.hivemind.service.BodyBuilder
Adds text to the current line then terminates the line.
addln(String, Object) - Method in class org.apache.hivemind.service.BodyBuilder
Convience for BodyBuilder.addln(String, Object[])
addln(String, Object, Object) - Method in class org.apache.hivemind.service.BodyBuilder
Convience for BodyBuilder.addln(String, Object[]).
addln(String, Object, Object, Object) - Method in class org.apache.hivemind.service.BodyBuilder
Convience for BodyBuilder.addln(String, Object[]).
addln(String) - Method in class org.apache.hivemind.service.BodyBuilder
Adds the text to the current line, and terminates the line.
addMethod(int, MethodSignature, String) - Method in interface org.apache.hivemind.service.ClassFab
Adds a method.
addMethod(int, MethodSignature, String) - Method in class org.apache.hivemind.service.impl.ClassFabImpl
 
addMethod(MethodSignature) - Method in class org.apache.hivemind.service.impl.InterfaceFabImpl
 
addMethod(MethodSignature) - Method in interface org.apache.hivemind.service.InterfaceFab
Adds the method to the interface.
addModule(ModuleDefinition) - Method in class org.apache.hivemind.definition.impl.RegistryDefinitionImpl
 
addModule(ModuleDefinition) - Method in interface org.apache.hivemind.definition.RegistryDefinition
Adds a module definition.
addModule(Module) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
addNoOpMethod(ClassFab, MethodSignature) - Static method in class org.apache.hivemind.service.ClassFabUtils
Adds a method that does nothing.
addParser(ConfigurationParserDefinition) - Method in interface org.apache.hivemind.definition.ConfigurationPointDefinition
Adds a parser definition.
addParser(ConfigurationParserDefinition) - Method in class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
 
addPostProcessor(RegistryDefinitionPostProcessor) - Method in class org.apache.hivemind.definition.impl.RegistryDefinitionImpl
 
addPostProcessor(RegistryDefinitionPostProcessor) - Method in interface org.apache.hivemind.definition.RegistryDefinition
Adds a RegistryDefinitionPostProcessor.
addQuoted(String) - Method in class org.apache.hivemind.service.BodyBuilder
Adds the text to the current line, surrounded by double quotes.
addRegistryInitializationListener(RegistryInitializationListener) - Method in class org.apache.hivemind.definition.impl.RegistryDefinitionImpl
 
addRegistryInitializationListener(RegistryInitializationListener) - Method in interface org.apache.hivemind.definition.RegistryDefinition
Adds a RegistryInitializationListener which is called after the construction of the registry.
addRegistryShutdownListener(RegistryShutdownListener) - Method in interface org.apache.hivemind.impl.ConstructableServicePoint
Adds a shutdown listener; HiveMind uses two coordinators; the first is the hivemind.ShutdownCoordinator service, which is the coordinator used for service implementations.
addRegistryShutdownListener(RegistryShutdownListener) - Method in class org.apache.hivemind.impl.ServicePointImpl
 
addRegistryShutdownListener(RegistryShutdownListener) - Method in class org.apache.hivemind.impl.ShutdownCoordinatorImpl
 
addRegistryShutdownListener(RegistryShutdownListener) - Method in interface org.apache.hivemind.ShutdownCoordinator
 
addServiceImplementation(ServicePointDefinition, ImplementationConstructor, String) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionHelper
 
addServiceMethodImplementation(ClassFab, MethodSignature) - Method in class org.apache.hivemind.service.impl.LoggingInterceptorClassFactory
 
addServiceMethods(String) - Method in class org.apache.hivemind.impl.ProxyBuilder
 
addServiceMethods(String, boolean) - Method in class org.apache.hivemind.impl.ProxyBuilder
Creates the service methods for the class.
addServiceMethods(InterceptorStack, ClassFab, List) - Method in class org.apache.hivemind.service.impl.LoggingInterceptorClassFactory
 
addServicePoint(String, String) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionHelper
 
addServicePoint(ServicePointDefinition) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Adds a service point definition to the module.
addServicePoint(ServicePoint) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
addServicePointWithDefaultImplementation(String, String) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionHelper
 
addSimpleServiceImplementation(ServicePointDefinition, String, String) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionHelper
 
addThreadCleanupListener(ThreadCleanupListener) - Method in class org.apache.hivemind.service.impl.ThreadEventNotifierImpl
 
addThreadCleanupListener(ThreadCleanupListener) - Method in interface org.apache.hivemind.service.ThreadEventNotifier
Adds the listener.
addToStringMethod(ClassFab, String) - Static method in class org.apache.hivemind.service.ClassFabUtils
Adds a toString() method to a class that returns a fixed, pre-computed value.
addToStringMethod(InterceptorStack, ClassFab) - Method in class org.apache.hivemind.service.impl.LoggingInterceptorClassFactory
Creates a toString() method that identify the interceptor service id, the intercepted service id, and the service interface class name).
addWebInfDescriptor(ServletContext, ClassResolver, RegistryBuilder) - Method in class org.apache.hivemind.servlet.AutoloadingHiveMindFilter
Invoked from AutoloadingHiveMindFilter.constructRegistry(FilterConfig) to add an web specific application descriptor if one exists.
AggregateArgumentsMatcher - Class in org.apache.hivemind.test
 
AggregateArgumentsMatcher(ArgumentMatcher[]) - Constructor for class org.apache.hivemind.test.AggregateArgumentsMatcher
Aggregates the individual matchers.
AggregateArgumentsMatcher(ArgumentMatcher) - Constructor for class org.apache.hivemind.test.AggregateArgumentsMatcher
Convienice for just a single matcher.
append(String, boolean) - Method in class org.apache.hivemind.util.ToStringBuilder
 
append(String, byte) - Method in class org.apache.hivemind.util.ToStringBuilder
 
append(String, short) - Method in class org.apache.hivemind.util.ToStringBuilder
 
append(String, int) - Method in class org.apache.hivemind.util.ToStringBuilder
 
append(String, Object) - Method in class org.apache.hivemind.util.ToStringBuilder
 
append(String, String) - Method in class org.apache.hivemind.util.ToStringBuilder
 
appendClassLoader(ClassLoader) - Method in class org.apache.hivemind.service.impl.HiveMindClassPool
Convienience method for adding to the ClassPath for a particular class loader.
ApplicationRuntimeException - Exception in org.apache.hivemind
General wrapper for any exception (normal or runtime) that may occur during runtime processing for the application.
ApplicationRuntimeException(Throwable) - Constructor for exception org.apache.hivemind.ApplicationRuntimeException
 
ApplicationRuntimeException(String) - Constructor for exception org.apache.hivemind.ApplicationRuntimeException
 
ApplicationRuntimeException(String, Throwable) - Constructor for exception org.apache.hivemind.ApplicationRuntimeException
 
ApplicationRuntimeException(String, Object, Location, Throwable) - Constructor for exception org.apache.hivemind.ApplicationRuntimeException
 
ApplicationRuntimeException(String, Location, Throwable) - Constructor for exception org.apache.hivemind.ApplicationRuntimeException
 
ArgumentMatcher - Interface in org.apache.hivemind.test
Used with AggregateArgumentsMatcher to provide matching logic for a single argument.
argumentMatches(Object, Object) - Method in class org.apache.hivemind.test.AbstractArgumentMatcher
 
ArrayMatcher - Class in org.apache.hivemind.test
Used when the arguments to compare are a non-primitive array type.
ArrayMatcher() - Constructor for class org.apache.hivemind.test.ArrayMatcher
 
assertExceptionRegexp(Throwable, String) - Method in class org.apache.hivemind.test.HiveMindTestCase
Checks that the message for an exception matches a regular expression.
assertExceptionSubstring(Throwable, String) - Method in class org.apache.hivemind.test.HiveMindTestCase
Checks that the provided substring exists in the exceptions message.
assertListsEqual(Object[], List) - Static method in class org.apache.hivemind.test.HiveMindTestCase
Converts the actual list to an array and invokes HiveMindTestCase.assertListsEqual(Object[], Object[]).
assertListsEqual(Object[], Object[]) - Static method in class org.apache.hivemind.test.HiveMindTestCase
Asserts that the two arrays are equal; same length and all elements equal.
assertLoggedMessage(String) - Method in class org.apache.hivemind.test.HiveMindTestCase
Asserts that some capture log event matches the given message exactly.
assertLoggedMessage(String, List) - Method in class org.apache.hivemind.test.HiveMindTestCase
Asserts that some capture log event matches the given message exactly.
assertLoggedMessagePattern(String) - Method in class org.apache.hivemind.test.HiveMindTestCase
 
assertLoggedMessagePattern(String, List) - Method in class org.apache.hivemind.test.HiveMindTestCase
 
assertLoggedMessages(String[]) - Method in class org.apache.hivemind.test.HiveMindTestCase
Checks the messages for all logged events for exact match against the supplied list.
assertRegexp(String, String) - Method in class org.apache.hivemind.test.HiveMindTestCase
 
autoDetectModules() - Method in class org.apache.hivemind.impl.RegistryBuilder
Automatically loads hivemind modules on the classpath which are provided by RegistryProviders which are defined in Manifest-Files.
AutoloadingHiveMindFilter - Class in org.apache.hivemind.servlet
Servlet filter that constructs the Registry at startup.
AutoloadingHiveMindFilter() - Constructor for class org.apache.hivemind.servlet.AutoloadingHiveMindFilter
 
autowireProperties(Object, String[]) - Method in interface org.apache.hivemind.service.Autowiring
Autowires the properties of target defined in propertyNames.
autowireProperties(Object) - Method in interface org.apache.hivemind.service.Autowiring
Autowires all writable properties of target.
autowireProperties(String, Object, String[]) - Method in interface org.apache.hivemind.service.Autowiring
Autowires the properties of target defined in propertyNames using a certain strategy.
autowireProperties(String, Object) - Method in interface org.apache.hivemind.service.Autowiring
Autowires all writable properties of target using a certain strategy.
autowireProperties(Object) - Method in class org.apache.hivemind.service.impl.AutowiringImpl
 
autowireProperties(Object, String[]) - Method in class org.apache.hivemind.service.impl.AutowiringImpl
 
autowireProperties(String, Object) - Method in class org.apache.hivemind.service.impl.AutowiringImpl
 
autowireProperties(String, Object, String[]) - Method in class org.apache.hivemind.service.impl.AutowiringImpl
 
autowireProperty(RegistryInfrastructure, Object, String) - Method in interface org.apache.hivemind.service.AutowiringStrategy
Autowire a single property.
autowireProperty(RegistryInfrastructure, Object, String) - Method in class org.apache.hivemind.service.impl.AutowiringByTypeStrategy
 
Autowiring - Interface in org.apache.hivemind.service
Service that wires properties of object with services defined in the registry.
AUTOWIRING_SERVICE - Static variable in class org.apache.hivemind.HiveMind
The full id of the Autowiring service.
AutowiringByTypeStrategy - Class in org.apache.hivemind.service.impl
Implementation of AutowiringStrategy that searches for a matching service by the type of a property.
AutowiringByTypeStrategy() - Constructor for class org.apache.hivemind.service.impl.AutowiringByTypeStrategy
 
AutowiringImpl - Class in org.apache.hivemind.service.impl
Implementation of Autowiring.
AutowiringImpl(RegistryInfrastructure, List, ErrorHandler) - Constructor for class org.apache.hivemind.service.impl.AutowiringImpl
 
AutowiringStrategy - Interface in org.apache.hivemind.service
Wires a single property of an object with a service from the hivemind registry.
AutowiringStrategyContribution - Class in org.apache.hivemind.service.impl
Contribution to the org.apache.hivemind.service.Autowiring configuration extension point; used to provide a AutowiringStrategy implementation and advice on ordering the service.
AutowiringStrategyContribution() - Constructor for class org.apache.hivemind.service.impl.AutowiringStrategyContribution
 
AutowiringStrategyContribution(AutowiringStrategy, String, String, String) - Constructor for class org.apache.hivemind.service.impl.AutowiringStrategyContribution
 

B

BaseLocatable - Class in org.apache.hivemind.impl
Base class for classes which implement LocationHolder.
BaseLocatable() - Constructor for class org.apache.hivemind.impl.BaseLocatable
 
BaseLocatable(Location) - Constructor for class org.apache.hivemind.impl.BaseLocatable
 
begin() - Method in class org.apache.hivemind.service.BodyBuilder
Begins a new block.
BodyBuilder - Class in org.apache.hivemind.service
Utility class for assembling the body used with Javassist as a method or catch block.
BodyBuilder() - Constructor for class org.apache.hivemind.service.BodyBuilder
 
buildFrameworkRegistry(ModuleDefinition) - Method in class org.apache.hivemind.test.HiveMindTestCase
 
buildFrameworkRegistry(ModuleDefinition[]) - Method in class org.apache.hivemind.test.HiveMindTestCase
Builds a registry, containing only the modules delivered the parameter customModules, plus the master module descriptor (i.e., those visible on the classpath).
buildMinimalRegistry(Resource) - Method in class org.apache.hivemind.test.HiveMindTestCase
Builds a registry from exactly the provided resource; this registry will not include the hivemind module.
BY_TYPE - Static variable in interface org.apache.hivemind.service.AutowiringStrategy
Strategy that searches for services by the type of a property.

C

canConvert(Class) - Method in interface org.apache.hivemind.service.ClassFab
 
canConvert(Class) - Method in class org.apache.hivemind.service.impl.AbstractFab
 
canConvert(Class) - Method in class org.apache.hivemind.service.impl.CtClassSource
 
capitalize(String) - Static method in class org.apache.hivemind.util.StringUtils
Converts a string such that the first character is upper case.
checkContributionCounts(RegistryDefinition) - Method in class org.apache.hivemind.impl.RegistryBuilder
Checks that each configuration extension point has the right number of contributions.
checkForClass(String) - Method in interface org.apache.hivemind.ClassResolver
Like ClassResolver.findClass(String), but simply returns null if the class does not exist (i.e., if ClassNotFoundException is thrown).
checkForClass(String) - Method in class org.apache.hivemind.impl.DefaultClassResolver
 
ClassFab - Interface in org.apache.hivemind.service
Used when fabricating a new class.
ClassFabImpl - Class in org.apache.hivemind.service.impl
Implementation of ClassFab.
ClassFabImpl(CtClassSource, CtClass) - Constructor for class org.apache.hivemind.service.impl.ClassFabImpl
 
ClassFabUtils - Class in org.apache.hivemind.service
Static class containing utility methods.
ClassFactory - Interface in org.apache.hivemind.service
Service used when dynamically creating new classes.
ClassFactoryImpl - Class in org.apache.hivemind.service.impl
Implementation of ClassFactory.
ClassFactoryImpl() - Constructor for class org.apache.hivemind.service.impl.ClassFactoryImpl
 
ClasspathResource - Class in org.apache.hivemind.util
Implementation of Resource for resources found within the classpath.
ClasspathResource(ClassResolver, String) - Constructor for class org.apache.hivemind.util.ClasspathResource
 
ClasspathResource(ClassResolver, String, Locale) - Constructor for class org.apache.hivemind.util.ClasspathResource
 
ClassResolver - Interface in org.apache.hivemind
An object which is used to resolve classes and class-path resources.
cleanupThread() - Method in class org.apache.hivemind.impl.RegistryImpl
 
cleanupThread() - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
cleanupThread() - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Convienience for invoking ThreadEventNotifier.fireThreadCleanup().
cleanupThread() - Method in interface org.apache.hivemind.Registry
Convienience for invoking ThreadEventNotifier.fireThreadCleanup().
clear() - Method in class org.apache.hivemind.service.BodyBuilder
Clears the builder, returning it to its initial, empty state.
clear() - Method in class org.apache.hivemind.service.impl.ThreadLocalStorageImpl
 
clear() - Method in interface org.apache.hivemind.service.ThreadLocalStorage
Clears all keys.
clearCache() - Static method in class org.apache.hivemind.util.PropertyUtils
Clears all cached information.
clearConstructorInformation() - Method in interface org.apache.hivemind.impl.ConstructableServicePoint
Invoked by the ServiceModel when constuction information (the builder and interceptors) is no longer needed.
clearConstructorInformation() - Method in class org.apache.hivemind.impl.ServicePointImpl
 
close(InputStream) - Static method in class org.apache.hivemind.util.IOUtils
Closes the input stream, if not null.
compareArguments(Object, Object) - Method in interface org.apache.hivemind.test.ArgumentMatcher
Compares an expected argument value (provided when training the mock object), against the actual argument value.
compareArguments(Object, Object) - Method in class org.apache.hivemind.test.ArrayMatcher
 
compareArguments(Object, Object) - Method in class org.apache.hivemind.test.EqualsMatcher
Simple matcher based on equals().
compareArguments(Object, Object) - Method in class org.apache.hivemind.test.RegexpMatcher
 
compareArguments(Object, Object) - Method in class org.apache.hivemind.test.TypeMatcher
 
CompositeFilter - Class in org.apache.hivemind.methodmatch
Runs a suite of MethodFilters, returning true only if each filter does.
CompositeFilter(List) - Constructor for class org.apache.hivemind.methodmatch.CompositeFilter
Creates a new composite filter; the list passed in is retained not copied and should not be changed futher by the caller.
ConfigurationParser - Interface in org.apache.hivemind.definition
Parses configuration data that is provided in a textual format.
ConfigurationParserConstructor - Interface in org.apache.hivemind.definition
Factory for the creation of a ConfigurationParser.
ConfigurationParserDefinition - Interface in org.apache.hivemind.definition
Defines a parser for the processing of configuration data that is provided in a textual format.
ConfigurationParserDefinitionImpl - Class in org.apache.hivemind.definition.impl
Default implementation of ConfigurationParserDefinition.
ConfigurationParserDefinitionImpl(ModuleDefinition) - Constructor for class org.apache.hivemind.definition.impl.ConfigurationParserDefinitionImpl
 
ConfigurationParserDefinitionImpl(ModuleDefinition, Location, String, ConfigurationParserConstructor) - Constructor for class org.apache.hivemind.definition.impl.ConfigurationParserDefinitionImpl
 
ConfigurationPoint - Interface in org.apache.hivemind.internal
An extension point that provides configuration data in the form of a list of elements.
ConfigurationPointDefinition - Interface in org.apache.hivemind.definition
Defines a configuration extension point.
ConfigurationPointDefinitionImpl - Class in org.apache.hivemind.definition.impl
Default implementation of ConfigurationPointDefinition.
ConfigurationPointDefinitionImpl(ModuleDefinition) - Constructor for class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
 
ConfigurationPointDefinitionImpl(ModuleDefinition, String, Location, Visibility, String, Occurances) - Constructor for class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
 
ConfigurationPointImpl - Class in org.apache.hivemind.impl
Implementation of the ConfigurationPoint interface; a container for Contributions.
ConfigurationPointImpl(Module, ConfigurationPointDefinition) - Constructor for class org.apache.hivemind.impl.ConfigurationPointImpl
 
configurationPointNotVisible(ConfigurationPointDefinition, ModuleDefinition) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 
configureProperties(Object, String) - Static method in class org.apache.hivemind.util.PropertyUtils
Initializes the properties of an object from a string.
ConstructableServicePoint - Interface in org.apache.hivemind.impl
"Private" interface used by a ServiceModels to access non- information about a ServicePoint, such as its instance builder and interceptors.
constructBridgeProxy(Object) - Method in class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
Need to bridge from the service interface to the actual type.
constructConfiguration() - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
Called by the proxy responsible for lazy construction of the configuration when the first time a method of the container proxy is called.
constructCoreServiceImplementation(ImplementationConstructionContext) - Method in interface org.apache.hivemind.definition.ImplementationConstructor
Creates a new core service implementation.
constructCoreServiceImplementation(ImplementationConstructionContext) - Method in class org.apache.hivemind.impl.CreateClassServiceConstructor
 
constructCoreServiceImplementation() - Method in class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
Constructs the core service implementation (by invoking the ImplementationConstructor), and checks that the result is non-null and assignable to the service interface.
constructDefaultRegistry() - Static method in class org.apache.hivemind.impl.RegistryBuilder
Constructs a default registry based on just the modules visible to the thread context class loader (this is sufficient is the majority of cases), and using the default locale.
constructInterceptorClass(InterceptorStack, List) - Method in class org.apache.hivemind.service.impl.LoggingInterceptorClassFactory
Creates the interceptor class.
ConstructionContext - Interface in org.apache.hivemind.definition
Interface that provides access to information and services needed during the construction of an extension or extension point.
constructNewServiceImplementation() - Method in class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
Constructs a new implementation of the service, starting with a core implementation, then adding any interceptors.
ConstructorUtils - Class in org.apache.hivemind.util
Static methods for invoking constructors.
constructParser(ConstructionContext) - Method in interface org.apache.hivemind.definition.ConfigurationParserConstructor
Constructs a parser instance.
constructRegistry() - Method in class org.apache.hivemind.impl.RegistryBuilder
Constructs the registry from its RegistryDefinition.
constructRegistry(Locale) - Method in class org.apache.hivemind.impl.RegistryBuilder
Constructs the registry from its RegistryDefinition.
constructRegistry(RegistryDefinition, ErrorHandler, Locale) - Static method in class org.apache.hivemind.impl.RegistryBuilder
Constructs the registry from a specified RegistryDefinition.
constructRegistry(FilterConfig) - Method in class org.apache.hivemind.servlet.AutoloadingHiveMindFilter
Invoked from AutoloadingHiveMindFilter.init(FilterConfig) to actually construct the Registry.
constructRegistryInfrastructure(RegistryDefinition) - Method in class org.apache.hivemind.impl.RegistryInfrastructureConstructor
Constructs the registry infrastructure, based on a blueprint defined by a RegistryDefinition.
constructServiceImplementation() - Method in class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
Constructs the service implementation; this is invoked from ServicePoint.getService(Class) (for singletons), or from the generated deferrable proxy (for most service models).
constructServiceInterceptor(InterceptorStack, Module) - Method in interface org.apache.hivemind.definition.InterceptorConstructor
Creates a new core service implementation.
constructServiceInterceptor(InterceptorStack, Module) - Method in class org.apache.hivemind.internal.AbstractServiceInterceptorConstructor
 
containsConfiguration(String) - Method in class org.apache.hivemind.impl.RegistryImpl
 
containsConfiguration(String, Module) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
containsConfiguration(String, Module) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Returns true if a configuration for the specified id exists (and is visible to the specified module).
containsConfiguration(String) - Method in interface org.apache.hivemind.Registry
Returns true if a configuration for the specified id exists.
containsMessage(String) - Method in class org.apache.hivemind.impl.AbstractMessages
 
containsMessage(String) - Method in interface org.apache.hivemind.Messages
Returns true if the given key is associated with a message, false otherwise.
containsMethod(MethodSignature) - Method in interface org.apache.hivemind.service.ClassFab
Convenience method for checking whether the fabricated class already contains a method.
containsMethod(MethodSignature) - Method in class org.apache.hivemind.service.impl.ClassFabImpl
 
containsService(Class) - Method in interface org.apache.hivemind.definition.ConstructionContext
 
containsService(Class) - Method in class org.apache.hivemind.impl.ModuleImpl
 
containsService(Class) - Method in class org.apache.hivemind.impl.RegistryImpl
 
containsService(String, Class) - Method in class org.apache.hivemind.impl.RegistryImpl
 
containsService(Class, Module) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
containsService(String, Class, Module) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
containsService(Class) - Method in class org.apache.hivemind.internal.AbstractConstructionContext
 
containsService(Class) - Method in interface org.apache.hivemind.internal.Module
Returns true if a single service exists which implements the specified service interface and is visible to this module.
containsService(Class, Module) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Returns true if a single service exists which implements the specified service interface and is visible to the given module.
containsService(String, Class, Module) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Returns true if a single service with the given id exists which implements the specified service interface and is visible to the given module.
containsService(Class) - Method in interface org.apache.hivemind.Registry
Returns true if a single service for the specified service interface class exists.
containsService(String, Class) - Method in interface org.apache.hivemind.Registry
Returns true if a service for the specified service id and service interface exists.
ContextResource - Class in org.apache.hivemind.util
Implementation of Resource for resources found within the web application context.
ContextResource(ServletContext, String) - Constructor for class org.apache.hivemind.util.ContextResource
 
ContextResource(ServletContext, String, Locale) - Constructor for class org.apache.hivemind.util.ContextResource
 
contribute(ContributionContext) - Method in interface org.apache.hivemind.definition.Contribution
Contributes to the configuration.
Contribution - Interface in org.apache.hivemind.definition
Contributes data to a configuration point.
ContributionContext - Interface in org.apache.hivemind.definition
Context for execution of a Contribution.
contributionCount(int) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 
ContributionDefinition - Interface in org.apache.hivemind.definition
Defines a contribution to a ConfigurationPointDefinition.
ContributionDefinitionImpl - Class in org.apache.hivemind.definition.impl
Default implementation of ContributionDefinition.
ContributionDefinitionImpl(ModuleDefinition) - Constructor for class org.apache.hivemind.definition.impl.ContributionDefinitionImpl
 
ContributionDefinitionImpl(ModuleDefinition, Location, Contribution, boolean) - Constructor for class org.apache.hivemind.definition.impl.ContributionDefinitionImpl
 
convert(StringBuffer, Object) - Static method in class org.apache.hivemind.service.impl.LoggingUtils
 
convertClass(Class) - Method in class org.apache.hivemind.service.impl.AbstractFab
 
convertClasses(Class[]) - Method in class org.apache.hivemind.service.impl.AbstractFab
 
CoreServicesProvider - Class in org.apache.hivemind.impl
Loads the core HiveMind services into a registry definition.
CoreServicesProvider() - Constructor for class org.apache.hivemind.impl.CoreServicesProvider
 
createClass() - Method in interface org.apache.hivemind.service.ClassFab
Invoked last to create the class.
createClass() - Method in class org.apache.hivemind.service.impl.AbstractFab
 
createClass(CtClass) - Method in class org.apache.hivemind.service.impl.CtClassSource
 
CreateClassServiceConstructor - Class in org.apache.hivemind.impl
Constructs a service by instantiating a class.
CreateClassServiceConstructor(Location, String) - Constructor for class org.apache.hivemind.impl.CreateClassServiceConstructor
 
createDelegatingProxy(String, ServiceModel, String, ServicePoint) - Static method in class org.apache.hivemind.impl.ProxyUtils
Creates a class that implements the service interface.
createInstance(Module, String, Location) - Static method in class org.apache.hivemind.util.InstanceCreationUtils
Creates an instance.
createInterface() - Method in class org.apache.hivemind.service.impl.InterfaceFabImpl
 
createInterface() - Method in interface org.apache.hivemind.service.InterfaceFab
Creates a Class object for the fabricated interface.
createOuterProxy(Object, ServicePoint) - Static method in class org.apache.hivemind.impl.ProxyUtils
Constructs an outer proxy (for the threaded or pooled service).
createRegistryShutdownException() - Static method in class org.apache.hivemind.HiveMind
 
createServiceModelForService(ConstructableServicePoint) - Method in class org.apache.hivemind.impl.servicemodel.PooledServiceModelFactory
 
createServiceModelForService(ConstructableServicePoint) - Method in class org.apache.hivemind.impl.servicemodel.PrimitiveServiceModelFactory
 
createServiceModelForService(ConstructableServicePoint) - Method in class org.apache.hivemind.impl.servicemodel.SingletonServiceModelFactory
 
createServiceModelForService(ConstructableServicePoint) - Method in class org.apache.hivemind.impl.servicemodel.ThreadedServiceModelFactory
 
createServiceModelForService(ConstructableServicePoint) - Method in interface org.apache.hivemind.internal.ServiceModelFactory
 
CtClassSource - Class in org.apache.hivemind.service.impl
Wrapper around Javassist's ClassPool and our own ClassFactoryClassLoader that manages the creation of new instance of CtClass and converts finished CtClass's into instantiable Classes.
CtClassSource(HiveMindClassPool) - Constructor for class org.apache.hivemind.service.impl.CtClassSource
 

D

DefaultClassResolver - Class in org.apache.hivemind.impl
Default implementation of ClassResolver based around Thread.getContextClassLoader() (which is set by the servlet container).
DefaultClassResolver() - Constructor for class org.apache.hivemind.impl.DefaultClassResolver
Constructs a new instance using Thread.getContextClassLoader().
DefaultClassResolver(ClassLoader) - Constructor for class org.apache.hivemind.impl.DefaultClassResolver
 
DefaultErrorHandler - Class in org.apache.hivemind.impl
Default implementation of ErrorHandler that simply logs error.
DefaultErrorHandler() - Constructor for class org.apache.hivemind.impl.DefaultErrorHandler
 
Defense - Class in org.apache.hivemind.util
Simple utilities for defensive programming.
DefinitionMessages - Class in org.apache.hivemind.definition
Used to format messages used in errors and log output for classes within the definition package.
DefinitionMessages() - Constructor for class org.apache.hivemind.definition.DefinitionMessages
 
DELEGATE_ACCESSOR_METHOD_NAME - Static variable in class org.apache.hivemind.impl.ProxyUtils
 
dependencyOnUnknownModule(String) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 
destroy() - Method in class org.apache.hivemind.servlet.AutoloadingHiveMindFilter
Invokes Registry.shutdown().
Discardable - Interface in org.apache.hivemind
Implemented by a core service implementationsthat require notification when they are discarded.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.hivemind.servlet.AutoloadingHiveMindFilter
Passes the request to the filter chain, but then invokes Registry.cleanupThread()   (from a finally block).
duplicateConfigurationPointId(String, ModuleDefinition) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 
duplicateModuleId(String) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 
duplicateParserInputFormat(String, ConfigurationPointDefinition) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 
duplicateServicePointId(String, ModuleDefinition) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 

E

EagerLoader - Class in org.apache.hivemind.service.impl
Implementation of the hivemind.EagerLoad service, which is contributed into to hivemind.Startup configuration point.
EagerLoader() - Constructor for class org.apache.hivemind.service.impl.EagerLoader
 
end() - Method in class org.apache.hivemind.service.BodyBuilder
Ends the current block.
entry(Log, String, Object[]) - Static method in class org.apache.hivemind.service.impl.LoggingUtils
 
equals(Object) - Method in class org.apache.hivemind.impl.LocationImpl
 
equals(Object) - Method in class org.apache.hivemind.service.MethodSignature
Returns true if the other object is an instance of MethodSignature with identical values for return type, name, parameter types and exception types.
equals(Object) - Method in class org.apache.hivemind.util.AbstractResource
Returns true if the other object is an instance of the same class, and the paths are equal.
EqualsMatcher - Class in org.apache.hivemind.test
 
EqualsMatcher() - Constructor for class org.apache.hivemind.test.EqualsMatcher
 
error(Log, String, Location, Throwable) - Method in interface org.apache.hivemind.ErrorHandler
Handle a recoverable error.
error(String, Location, Throwable) - Method in interface org.apache.hivemind.ErrorLog
Invokes ErrorHandler.error(org.apache.commons.logging.Log, String, Location, Throwable).
error(Log, String, Location, Throwable) - Method in class org.apache.hivemind.impl.DefaultErrorHandler
 
error(String, Location, Throwable) - Method in class org.apache.hivemind.impl.ErrorLogImpl
 
error(Log, String, Location, Throwable) - Method in class org.apache.hivemind.impl.StrictErrorHandler
 
ErrorHandler - Interface in org.apache.hivemind
Interface for handling recoverable errors.
ErrorLog - Interface in org.apache.hivemind
A wrapper around ErrorHandler and Logfor the most common case: reporting recoverable errors.
ErrorLogImpl - Class in org.apache.hivemind.impl
 
ErrorLogImpl(ErrorHandler, Log) - Constructor for class org.apache.hivemind.impl.ErrorLogImpl
 
EventLinker - Interface in org.apache.hivemind.service
Service used to link two other services together using event notifications.
EventLinkerImpl - Class in org.apache.hivemind.service.impl
Implementation of EventLinker.
EventLinkerImpl(ErrorLog) - Constructor for class org.apache.hivemind.service.impl.EventLinkerImpl
 
EventListenerList - Class in org.apache.hivemind.util
Convienience class for tracking a list of event listeners.
EventListenerList() - Constructor for class org.apache.hivemind.util.EventListenerList
 
EventRegistration - Class in org.apache.hivemind.service.impl
An event registrtion for a service constructed by org.apache.hivemind.service.impl.BuilderFactory.
EventRegistration() - Constructor for class org.apache.hivemind.service.impl.EventRegistration
 
ExactNameFilter - Class in org.apache.hivemind.methodmatch
Matches a method if the name is an exact match.
ExactNameFilter(String) - Constructor for class org.apache.hivemind.methodmatch.ExactNameFilter
 
exception(Log, String, Throwable) - Static method in class org.apache.hivemind.service.impl.LoggingUtils
 
exit(Log, String, Object) - Static method in class org.apache.hivemind.service.impl.LoggingUtils
 
extend(String, boolean) - Method in interface org.apache.hivemind.service.MethodFab
Extends the existing method with additional code.
extendDescription(ToStringBuilder) - Method in class org.apache.hivemind.impl.AbstractExtensionPoint
Implemented in subclasses to provide details about subclass properties.
extendDescription(ToStringBuilder) - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
 
extendDescription(ToStringBuilder) - Method in class org.apache.hivemind.impl.ServicePointImpl
 
ExtensionDefinition - Interface in org.apache.hivemind.definition
Defines an extension to an extension point.
ExtensionDefinitionImpl - Class in org.apache.hivemind.definition.impl
Default implementation of ExtensionDefinition.
ExtensionDefinitionImpl(ModuleDefinition) - Constructor for class org.apache.hivemind.definition.impl.ExtensionDefinitionImpl
 
ExtensionDefinitionImpl(ModuleDefinition, Location) - Constructor for class org.apache.hivemind.definition.impl.ExtensionDefinitionImpl
 
ExtensionPoint - Interface in org.apache.hivemind.internal
Base interface for service and configuration extension points.
ExtensionPointDefinition - Interface in org.apache.hivemind.definition
Defines an extension point of a module.
ExtensionPointDefinitionImpl - Class in org.apache.hivemind.definition.impl
Default implementation of ExtensionPointDefinition.
ExtensionPointDefinitionImpl(ModuleDefinition) - Constructor for class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
 
ExtensionPointDefinitionImpl(ModuleDefinition, String, Location, Visibility) - Constructor for class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
 
ExtensionResolver - Class in org.apache.hivemind.impl
Resolves the unresolved extensions in all modules of a RegistryDefinition during the construction of a registry by RegistryBuilder.
ExtensionResolver(RegistryDefinition, ErrorHandler) - Constructor for class org.apache.hivemind.impl.ExtensionResolver
 
extractModule(String) - Static method in class org.apache.hivemind.util.IdUtils
Extracts the module name from a fully qualified id Returns null if id contains no module

F

fabricateLocation(int) - Method in class org.apache.hivemind.test.HiveMindTestCase
Deprecated. To be removed in 1.2. Use HiveMindTestCase.newLocation() instead.
fieldNotNull(String) - Static method in class org.apache.hivemind.HiveMindMessages
 
fieldNotNull(Object, String) - Static method in class org.apache.hivemind.util.Defense
Check for null field value when not allowed.
FileResource - Class in org.apache.hivemind.util
An implementation of Resource built around File.
FileResource(String) - Constructor for class org.apache.hivemind.util.FileResource
 
FileResource(String, Locale) - Constructor for class org.apache.hivemind.util.FileResource
 
findClass(String) - Method in interface org.apache.hivemind.ClassResolver
Forwarded, to the the method Class.forName(String, boolean, ClassLoader), using the resolver's class loader.
findClass(String) - Method in class org.apache.hivemind.impl.DefaultClassResolver
Invokes Class.forName(java.lang.String, boolean, java.lang.ClassLoader).
findLocalizedPath(String, Locale) - Method in class org.apache.hivemind.util.LocalizedFileResourceFinder
 
findLocation(Object[]) - Static method in class org.apache.hivemind.HiveMind
Selects the first Location in an array of objects.
findMessage(String) - Method in class org.apache.hivemind.impl.AbstractMessages
Concrete implementations must implement this method.
findMessage(String) - Method in class org.apache.hivemind.impl.MessageFormatter
 
findMessage(String) - Method in class org.apache.hivemind.impl.ModuleMessages
 
findNestedException(ApplicationRuntimeException) - Method in class org.apache.hivemind.test.HiveMindTestCase
Digs down through (potentially) a stack of ApplicationRuntimeExceptions until it reaches the originating exception, which is returned.
fireThreadCleanup() - Method in class org.apache.hivemind.service.impl.ThreadEventNotifierImpl
 
fireThreadCleanup() - Method in interface org.apache.hivemind.service.ThreadEventNotifier
Invokes ThreadCleanupListener.threadDidCleanup() on all listeners, and discards the list of listeners.
forceServiceInstantiation() - Method in class org.apache.hivemind.impl.ServicePointImpl
Forces the service into existence.
forceServiceInstantiation() - Method in interface org.apache.hivemind.internal.ServicePoint
Forces the service to be fully instantiated immediately, rather than lazily.
format(String, Object[]) - Method in class org.apache.hivemind.impl.AbstractMessages
 
format(String, Object) - Method in class org.apache.hivemind.impl.AbstractMessages
 
format(String, Object, Object) - Method in class org.apache.hivemind.impl.AbstractMessages
 
format(String, Object, Object, Object) - Method in class org.apache.hivemind.impl.AbstractMessages
 
format(String, Object[]) - Method in interface org.apache.hivemind.Messages
Formats a string, using MessageFormat.format(java.lang.String, java.lang.Object[]).
format(String, Object) - Method in interface org.apache.hivemind.Messages
Convienience method for invoking Messages.format(String, Object[]).
format(String, Object, Object) - Method in interface org.apache.hivemind.Messages
Convienience method for invoking Messages.format(String, Object[]).
format(String, Object, Object, Object) - Method in interface org.apache.hivemind.Messages
Convienience method for invoking Messages.format(String, Object[]).

G

generateClassName(String) - Static method in class org.apache.hivemind.service.ClassFabUtils
Generates a unique class name, which will be in the default package.
generateClassName(Class) - Static method in class org.apache.hivemind.service.ClassFabUtils
Returns a class name derived from the provided interfaceClass.
get(MethodSignature) - Method in class org.apache.hivemind.methodmatch.MethodMatcher
Returns a pattern value prevoiusly stored via MethodMatcher.put(String, Object).
get(String) - Method in class org.apache.hivemind.service.impl.ThreadLocalStorageImpl
 
get(String) - Method in interface org.apache.hivemind.service.ThreadLocalStorage
Returns the thread-local object for the given key, or null if no such object exists.
getActualServiceImplementation() - Method in class org.apache.hivemind.impl.servicemodel.SingletonServiceModel
This is invoked by the proxy to create the actual implementation.
getCause() - Method in exception org.apache.hivemind.ApplicationRuntimeException
This method is for compatibility with JDK 1.4.
getClassFab() - Method in class org.apache.hivemind.impl.ProxyBuilder
 
getClassLoader() - Method in interface org.apache.hivemind.ClassResolver
Returns a ClassLoader that can see all the classes the resolver can access.
getClassLoader() - Method in class org.apache.hivemind.impl.DefaultClassResolver
 
getClassLocation(Class, ClassResolver) - Static method in class org.apache.hivemind.HiveMind
 
getClassResolver() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getClassResolver() - Method in interface org.apache.hivemind.definition.ModuleDefinition
 
getClassResolver() - Method in class org.apache.hivemind.impl.ModuleImpl
 
getClassResolver() - Method in interface org.apache.hivemind.internal.Module
Returns the resource resolver for this module.
getClassResolver() - Method in class org.apache.hivemind.test.HiveMindTestCase
Returns a DefaultClassResolver.
getColumnNumber() - Method in class org.apache.hivemind.impl.LocationImpl
 
getComponent() - Method in exception org.apache.hivemind.ApplicationRuntimeException
 
getConfiguration(String) - Method in interface org.apache.hivemind.definition.ConstructionContext
 
getConfiguration() - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
 
getConfiguration(String) - Method in class org.apache.hivemind.impl.ModuleImpl
 
getConfiguration(Class) - Method in class org.apache.hivemind.impl.RegistryImpl
 
getConfiguration(String) - Method in class org.apache.hivemind.impl.RegistryImpl
 
getConfiguration(String, Module) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getConfiguration(Class, Module) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getConfiguration(String) - Method in class org.apache.hivemind.internal.AbstractConstructionContext
 
getConfiguration() - Method in interface org.apache.hivemind.internal.ConfigurationPoint
Returns the container that holds the configuration data.
getConfiguration(String) - Method in interface org.apache.hivemind.internal.Module
Returns the container for the specified configuration point.
getConfiguration(String, Module) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Returns the specified configuration.
getConfiguration(Class, Module) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Finds a configuration of the specified type.
getConfiguration(String) - Method in interface org.apache.hivemind.Registry
Returns the container of the configuration point.
getConfiguration(Class) - Method in interface org.apache.hivemind.Registry
Finds a configuration of the specified type.
getConfigurationData() - Method in interface org.apache.hivemind.definition.ContributionContext
 
getConfigurationParsers() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getConfigurationParsers() - Method in interface org.apache.hivemind.definition.ModuleDefinition
 
getConfigurationPoint() - Method in interface org.apache.hivemind.definition.ContributionContext
 
getConfigurationPoint(String) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getConfigurationPoint(String) - Method in class org.apache.hivemind.definition.impl.RegistryDefinitionImpl
 
getConfigurationPoint(String) - Method in interface org.apache.hivemind.definition.ModuleDefinition
Returns a configuration point that is identified by its id.
getConfigurationPoint(String) - Method in interface org.apache.hivemind.definition.RegistryDefinition
Returns a configuration point that is identified by its id.
getConfigurationPoint(String, Module) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getConfigurationPoint(String, Module) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Returns the configuration point.
getConfigurationPointDefinition() - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
 
getConfigurationPointDefinition() - Method in interface org.apache.hivemind.internal.ConfigurationPoint
 
getConfigurationPoints() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getConfigurationPoints() - Method in interface org.apache.hivemind.definition.ModuleDefinition
 
getConfigurationType() - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
 
getConfigurationType() - Method in interface org.apache.hivemind.internal.ConfigurationPoint
 
getConfigurationTypeName() - Method in interface org.apache.hivemind.definition.ConfigurationPointDefinition
 
getConfigurationTypeName() - Method in class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
 
getConfigurationTypeName() - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
 
getConstructorsOfLength(Class, int) - Static method in class org.apache.hivemind.util.ConstructorUtils
 
getContribution() - Method in interface org.apache.hivemind.definition.ContributionDefinition
 
getContribution() - Method in class org.apache.hivemind.definition.impl.ContributionDefinitionImpl
 
getContributionCount() - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
Returns the number of contributions; it is expected that each top-level org.apache.hivemind.Element in each Contribution will convert to one element instance; the value returned is the total number of top-level elements in all contributed Extensions.
getContributions() - Method in interface org.apache.hivemind.definition.ConfigurationPointDefinition
 
getContributions() - Method in class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
 
getContributions() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getContributions() - Method in interface org.apache.hivemind.definition.ModuleDefinition
 
getContributions() - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
 
getControl(Object) - Method in class org.apache.hivemind.test.HiveMindTestCase
Accesses the control for a previously created mock object.
getCreatedClassCount() - Method in interface org.apache.hivemind.service.ClassFactory
Returns the number of classes (and interfaces) actually created.
getCreatedClassCount() - Method in class org.apache.hivemind.service.impl.ClassFactoryImpl
 
getCreatedClassCount() - Method in class org.apache.hivemind.service.impl.CtClassSource
Returns the number of classes (and interfaces) created by this source.
getCtClass() - Method in class org.apache.hivemind.service.impl.AbstractFab
 
getCtClass(Class) - Method in class org.apache.hivemind.service.impl.CtClassSource
 
getCurrentLocale() - Method in class org.apache.hivemind.util.LocalizedNameGenerator
 
getDeclaredInterface() - Method in class org.apache.hivemind.impl.ServicePointImpl
 
getDeclaredInterface() - Method in interface org.apache.hivemind.internal.ServicePoint
Returns the interface for the service as specified in the descriptor; starting with release 1.1 it is possible to define a service in terms of a class (as the interface).
getDefaultImplementation() - Method in class org.apache.hivemind.definition.impl.ServicePointDefinitionImpl
 
getDefaultImplementation() - Method in interface org.apache.hivemind.definition.ServicePointDefinition
 
getDefaultMode() - Static method in class org.apache.hivemind.util.ToStringBuilder
 
getDefiningModule() - Method in interface org.apache.hivemind.definition.ConstructionContext
 
getDefiningModule() - Method in class org.apache.hivemind.internal.AbstractConstructionContext
 
getDefinition() - Method in class org.apache.hivemind.impl.AbstractExtensionPoint
 
getDependencies() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getDependencies() - Method in interface org.apache.hivemind.definition.ModuleDefinition
 
getErrorHander() - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getErrorHander() - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Returns the ErrorHandler for this Registry.
getErrorHandler() - Method in class org.apache.hivemind.impl.ModuleImpl
 
getErrorHandler() - Method in class org.apache.hivemind.impl.RegistryBuilder
 
getErrorHandler() - Method in interface org.apache.hivemind.internal.Module
Returns the ErrorHandler for this Registry.
getErrorLog() - Method in class org.apache.hivemind.impl.AbstractExtensionPoint
 
getErrorLog() - Method in interface org.apache.hivemind.internal.ExtensionPoint
Returns an ErrorLog used to report any recoverable errors related to the extension point.
getEventSetName() - Method in class org.apache.hivemind.service.impl.EventRegistration
The name of the event set to which the constructed service should be registered, or null to register the constructed service for any event sets it matches (any listener interfaces it implements tht match the event sets implemented by the producer).
getExceptionTypes() - Method in class org.apache.hivemind.service.MethodSignature
Returns the exceptions for this method.
getExpectedContributions() - Method in interface org.apache.hivemind.definition.ConfigurationPointDefinition
 
getExpectedContributions() - Method in class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
 
getExpectedCount() - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
 
getExtension() - Method in class org.apache.hivemind.definition.UnresolvedExtension
 
getExtensionPointId() - Method in class org.apache.hivemind.definition.UnresolvedExtension
 
getExtensionPointId() - Method in class org.apache.hivemind.impl.AbstractExtensionPoint
 
getExtensionPointId() - Method in interface org.apache.hivemind.internal.ExtensionPoint
Returns the fully qualified id of the extension point.
getFactory() - Method in class org.apache.hivemind.impl.ServiceModelContribution
 
getFollowingNames() - Method in class org.apache.hivemind.definition.impl.OrderedInterceptorDefinitionImpl
 
getFollowingNames() - Method in interface org.apache.hivemind.Orderable
Returns a comma-seperated list of the names of other items.
getFollowingNames() - Method in class org.apache.hivemind.service.impl.AutowiringStrategyContribution
 
getId() - Method in interface org.apache.hivemind.definition.ExtensionPointDefinition
 
getId() - Method in class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
 
getId() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getId() - Method in interface org.apache.hivemind.definition.ModuleDefinition
 
getImplementationDefinition() - Method in interface org.apache.hivemind.impl.ConstructableServicePoint
 
getImplementationDefinition() - Method in class org.apache.hivemind.impl.ServicePointImpl
 
getImplementations() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getImplementations() - Method in class org.apache.hivemind.definition.impl.ServicePointDefinitionImpl
 
getImplementations() - Method in interface org.apache.hivemind.definition.ModuleDefinition
 
getImplementations() - Method in interface org.apache.hivemind.definition.ServicePointDefinition
 
getInclude() - Method in class org.apache.hivemind.service.MethodContribution
 
getInputFormat() - Method in interface org.apache.hivemind.definition.ConfigurationParserDefinition
 
getInputFormat() - Method in class org.apache.hivemind.definition.impl.ConfigurationParserDefinitionImpl
 
getInstanceClass(ClassFab, Object, Class) - Static method in class org.apache.hivemind.service.ClassFabUtils
Returns the class of an instance.
getInstanceClass(Object, Class) - Static method in class org.apache.hivemind.service.ClassFabUtils
Deprecated. Please use version which takes a ClassFab object.
getInstanceClassName() - Method in class org.apache.hivemind.impl.CreateClassServiceConstructor
 
getInterceptedLogEvents() - Method in class org.apache.hivemind.test.HiveMindTestCase
Gets the list of events most recently intercepted.
getInterceptorConstructor() - Method in class org.apache.hivemind.definition.impl.InterceptorDefinitionImpl
 
getInterceptorConstructor() - Method in interface org.apache.hivemind.definition.InterceptorDefinition
 
getInterceptors() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getInterceptors() - Method in class org.apache.hivemind.definition.impl.ServicePointDefinitionImpl
 
getInterceptors() - Method in interface org.apache.hivemind.definition.ModuleDefinition
 
getInterceptors() - Method in interface org.apache.hivemind.definition.ServicePointDefinition
 
getInterfaceClassName() - Method in class org.apache.hivemind.definition.impl.ServicePointDefinitionImpl
 
getInterfaceClassName() - Method in interface org.apache.hivemind.definition.ServicePointDefinition
 
getJavaClassName(Class) - Static method in class org.apache.hivemind.service.ClassFabUtils
Javassist needs the class name to be as it appears in source code, even for arrays.
getJVMClassName(String) - Static method in class org.apache.hivemind.impl.JavaTypeUtils
Translates types from standard Java format to Java VM format.
getLineNumber() - Method in class org.apache.hivemind.impl.LocationImpl
 
getListeners() - Method in class org.apache.hivemind.util.EventListenerList
Returns an Iterator used to find all the listeners previously added.
getLocale() - Method in class org.apache.hivemind.impl.AbstractMessages
Concrete implementations must provide a non-null Locale.
getLocale() - Method in class org.apache.hivemind.impl.MessageFormatter
 
getLocale() - Method in class org.apache.hivemind.impl.ModuleImpl
 
getLocale() - Method in class org.apache.hivemind.impl.ModuleMessages
 
getLocale() - Method in class org.apache.hivemind.impl.RegistryImpl
 
getLocale() - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getLocale() - Method in interface org.apache.hivemind.internal.Module
 
getLocale() - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Returns the locale for which the registry was created.
getLocale() - Method in interface org.apache.hivemind.Registry
Returns the locale for which the registry was created.
getLocale() - Method in interface org.apache.hivemind.Resource
Returns the locale for which this resource has been localized or null if the resource has not been localized.
getLocale() - Method in class org.apache.hivemind.service.impl.ThreadLocaleImpl
 
getLocale() - Method in interface org.apache.hivemind.service.ThreadLocale
Returns the current locale.
getLocale() - Method in class org.apache.hivemind.util.AbstractResource
 
getLocalization(Locale) - Method in interface org.apache.hivemind.Resource
Returns a localized version of this resource (or this resource, if no appropriate localization is found).
getLocalization(Locale) - Method in class org.apache.hivemind.util.ClasspathResource
Locates the localization of the resource using LocalizedResourceFinder.
getLocalization(Locale) - Method in class org.apache.hivemind.util.ContextResource
Locates the resource using LocalizedContextResourceFinder and ServletContext.getResource(java.lang.String).
getLocalization(Locale) - Method in class org.apache.hivemind.util.FileResource
 
getLocalization(Locale) - Method in class org.apache.hivemind.util.URLResource
Always returns this location; no localization check occurs.
getLocation() - Method in exception org.apache.hivemind.ApplicationRuntimeException
 
getLocation() - Method in class org.apache.hivemind.definition.impl.ExtensionDefinitionImpl
 
getLocation() - Method in class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
 
getLocation() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getLocation() - Method in interface org.apache.hivemind.definition.ModuleDefinition
 
getLocation(Object) - Static method in class org.apache.hivemind.HiveMind
Extracts a location from an object, checking to see if it implement Location or Locatable.
getLocation() - Method in class org.apache.hivemind.impl.AbstractExtensionPoint
 
getLocation() - Method in class org.apache.hivemind.impl.BaseLocatable
 
getLocation() - Method in interface org.apache.hivemind.Locatable
Returns the location from which this object orginates, or null if not known.
getLocationString(Object) - Static method in class org.apache.hivemind.HiveMind
Invokes HiveMind.getLocation(Object), then translate the result to a string value, or "unknown location" if null.
getLog() - Method in class org.apache.hivemind.impl.AbstractExtensionPoint
 
getLog() - Method in interface org.apache.hivemind.internal.ExtensionPoint
Returns the Log instance for this extension point.
getMessage(String) - Method in class org.apache.hivemind.impl.AbstractMessages
 
getMessage(String, Locale) - Method in class org.apache.hivemind.impl.MessageFinderImpl
 
getMessage(String, Locale) - Method in interface org.apache.hivemind.internal.MessageFinder
Returns a message matching the key, in the indicated locale.
getMessage(String) - Method in interface org.apache.hivemind.Messages
Searches for a localized string with the given key.
getMessages() - Method in class org.apache.hivemind.impl.ModuleImpl
 
getMessages() - Method in interface org.apache.hivemind.internal.Module
Returns an object that can provide and format localized messages for this module.
getMethodFab(MethodSignature) - Method in interface org.apache.hivemind.service.ClassFab
Returns a previous defined method so that it can be further enhanced (perhaps by adding additional catches, etc.).
getMethodFab(MethodSignature) - Method in class org.apache.hivemind.service.impl.ClassFabImpl
 
getMethodPattern() - Method in class org.apache.hivemind.service.MethodContribution
 
getModule() - Method in interface org.apache.hivemind.definition.ExtensionDefinition
 
getModule() - Method in class org.apache.hivemind.definition.impl.ExtensionDefinitionImpl
 
getModule() - Method in class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
 
getModule() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionHelper
 
getModule(String) - Method in class org.apache.hivemind.definition.impl.RegistryDefinitionImpl
 
getModule(String) - Method in interface org.apache.hivemind.definition.RegistryDefinition
Returns a module that is identified by its module id.
getModule() - Method in class org.apache.hivemind.impl.AbstractExtensionPoint
 
getModule(String) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getModule() - Method in interface org.apache.hivemind.internal.ExtensionPoint
Returns the Module containing the extension point.
getModule(String) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Returns the module with the corresponding module id.
getModuleId() - Method in interface org.apache.hivemind.definition.ExtensionDefinition
 
getModuleId() - Method in interface org.apache.hivemind.definition.ExtensionPointDefinition
 
getModuleId() - Method in class org.apache.hivemind.definition.impl.ExtensionDefinitionImpl
 
getModuleId() - Method in class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
 
getModuleId() - Method in class org.apache.hivemind.impl.ModuleImpl
 
getModuleId() - Method in interface org.apache.hivemind.internal.Module
Returns the unique identifier for this module.
getModuleMessages(String) - Method in class org.apache.hivemind.impl.RegistryImpl
 
getModuleMessages(String) - Method in interface org.apache.hivemind.Registry
Returns the Messages object for the specified module.
getModules() - Method in class org.apache.hivemind.definition.impl.RegistryDefinitionImpl
 
getModules() - Method in interface org.apache.hivemind.definition.RegistryDefinition
 
getName() - Method in class org.apache.hivemind.definition.impl.InterceptorDefinitionImpl
 
getName() - Method in interface org.apache.hivemind.definition.InterceptorDefinition
 
getName() - Method in class org.apache.hivemind.definition.Occurances
 
getName() - Method in class org.apache.hivemind.impl.ServiceModelContribution
 
getName() - Method in interface org.apache.hivemind.Orderable
Returns the name of the item, which is used to establish sort order.
getName() - Method in interface org.apache.hivemind.Resource
Returns the file name portion of the resource location.
getName() - Method in class org.apache.hivemind.service.impl.AutowiringStrategyContribution
 
getName() - Method in class org.apache.hivemind.service.MethodSignature
 
getName() - Method in class org.apache.hivemind.util.AbstractResource
 
getOrderedInterceptorContributions() - Method in interface org.apache.hivemind.impl.ConstructableServicePoint
Returns a list of InterceptorConstructors, ordered according to their dependencies.
getOrderedInterceptorContributions() - Method in class org.apache.hivemind.impl.ServicePointImpl
 
getOrderedObjects() - Method in class org.apache.hivemind.order.Orderer
Uses the information provided by Orderer.add(Object, String, String, String) to order the objects into an appropriate order based on the pre- and post-reqts provided.
getPackageName() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getPackageName() - Method in interface org.apache.hivemind.definition.ModuleDefinition
Returns the name of the package to search for class names within.
getParameterTypes() - Method in class org.apache.hivemind.service.MethodSignature
Returns the parameter types for this method.
getParser(String) - Method in interface org.apache.hivemind.definition.ConfigurationPointDefinition
Returns the parsers which is responsible for processing the specified inputFormat.
getParser(String) - Method in class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
 
getParserConstructor() - Method in interface org.apache.hivemind.definition.ConfigurationParserDefinition
 
getParserConstructor() - Method in class org.apache.hivemind.definition.impl.ConfigurationParserDefinitionImpl
 
getParsers() - Method in interface org.apache.hivemind.definition.ConfigurationPointDefinition
 
getParsers() - Method in class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
 
getPath() - Method in interface org.apache.hivemind.Resource
Returns the path that represents the resource.
getPath() - Method in class org.apache.hivemind.util.AbstractResource
 
getPosition() - Method in class org.apache.hivemind.impl.LocationImpl
Returns the position in format "line x, column y"
getPosition() - Method in interface org.apache.hivemind.Location
A position inside the resource.
getPostProcessors() - Method in class org.apache.hivemind.definition.impl.RegistryDefinitionImpl
 
getPostProcessors() - Method in interface org.apache.hivemind.definition.RegistryDefinition
 
getPrecedingNames() - Method in class org.apache.hivemind.definition.impl.OrderedInterceptorDefinitionImpl
 
getPrecedingNames() - Method in interface org.apache.hivemind.Orderable
As Orderable.getFollowingNames(), but the identified items will precede this item.
getPrecedingNames() - Method in class org.apache.hivemind.service.impl.AutowiringStrategyContribution
 
getPrimtiveClass(String) - Static method in class org.apache.hivemind.impl.JavaTypeUtils
Translates a primitive type ("boolean", "char", etc.) to the corresponding Class.
getProducer() - Method in class org.apache.hivemind.service.impl.EventRegistration
Another service which is a producer of events to which the constructed service will be subscribed.
getPropertyAdaptor(Object, String) - Static method in class org.apache.hivemind.util.PropertyUtils
Returns the PropertyAdaptor for the given target object and property name.
getPropertyName() - Method in class org.apache.hivemind.util.PropertyAdaptor
 
getPropertyType() - Method in class org.apache.hivemind.util.PropertyAdaptor
 
getPropertyType(Object, String) - Static method in class org.apache.hivemind.util.PropertyUtils
Returns the type of the named property.
getProviders() - Method in class org.apache.hivemind.impl.RegistryProviderAutoDetector
 
getQualifiedId() - Method in interface org.apache.hivemind.definition.ExtensionPointDefinition
 
getQualifiedId() - Method in class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
 
getReadableProperties(Object) - Static method in class org.apache.hivemind.util.PropertyUtils
Returns an unordered List of the names of all readable properties of the target.
getReadMethodName() - Method in class org.apache.hivemind.util.PropertyAdaptor
Returns the name of the method used to read the property, or null if the property is not readable.
getRegistry() - Method in interface org.apache.hivemind.definition.ConstructionContext
Returns a reference to the RegistryInfrastructure.
getRegistry() - Method in class org.apache.hivemind.impl.ModuleImpl
 
getRegistry() - Method in class org.apache.hivemind.internal.AbstractConstructionContext
 
getRegistry() - Method in interface org.apache.hivemind.internal.Module
 
getRegistry(HttpServletRequest) - Static method in class org.apache.hivemind.servlet.AutoloadingHiveMindFilter
Returns the Registry that was stored as a request attribute inside method AutoloadingHiveMindFilter.doFilter(ServletRequest, ServletResponse, FilterChain).
getRegistryDefinition() - Method in class org.apache.hivemind.impl.RegistryBuilder
 
getRegistryInitializationListeners() - Method in class org.apache.hivemind.definition.impl.RegistryDefinitionImpl
 
getRegistryInitializationListeners() - Method in interface org.apache.hivemind.definition.RegistryDefinition
 
getRegistryLocale() - Method in class org.apache.hivemind.servlet.AutoloadingHiveMindFilter
Returns the default Locale.
getRelativeResource(String) - Method in interface org.apache.hivemind.Resource
Returns at a relative location to this resource.
getRelativeResource(String) - Method in class org.apache.hivemind.util.AbstractResource
 
getResource(String) - Method in interface org.apache.hivemind.ClassResolver
Forwarded, unchanged, to the class loader.
getResource(String) - Method in class org.apache.hivemind.impl.DefaultClassResolver
 
getResource() - Method in class org.apache.hivemind.impl.LocationImpl
 
getResource() - Method in interface org.apache.hivemind.Location
The resource containing the location.
getResource(String) - Method in class org.apache.hivemind.test.HiveMindTestCase
Returns the given file as a Resource from the classpath.
getResourceLocale() - Method in class org.apache.hivemind.util.LocalizedResource
 
getResourcePath() - Method in class org.apache.hivemind.util.LocalizedResource
 
getResourceURL() - Method in interface org.apache.hivemind.Resource
Returns a URL for the resource.
getResourceURL() - Method in class org.apache.hivemind.util.ClasspathResource
Invokes ClassResolver.getResource(String) with the path.
getResourceURL() - Method in class org.apache.hivemind.util.ContextResource
 
getResourceURL() - Method in class org.apache.hivemind.util.FileResource
 
getResourceURL() - Method in class org.apache.hivemind.util.URLResource
 
getReturnType() - Method in class org.apache.hivemind.service.MethodSignature
 
getRootCause() - Method in exception org.apache.hivemind.ApplicationRuntimeException
 
getService(String, Class) - Method in interface org.apache.hivemind.definition.ConstructionContext
 
getService(Class) - Method in interface org.apache.hivemind.definition.ConstructionContext
 
getService(String, Class) - Method in class org.apache.hivemind.impl.ModuleImpl
 
getService(Class) - Method in class org.apache.hivemind.impl.ModuleImpl
 
getService(String, Class) - Method in class org.apache.hivemind.impl.RegistryImpl
 
getService(Class) - Method in class org.apache.hivemind.impl.RegistryImpl
 
getService(String, Class, Module) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getService(Class, Module) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getService() - Method in class org.apache.hivemind.impl.servicemodel.PooledServiceModel
 
getService() - Method in class org.apache.hivemind.impl.servicemodel.PrimitiveServiceModel
Constructs the service (the first time this is invoked) and returns it.
getService() - Method in class org.apache.hivemind.impl.servicemodel.SingletonServiceModel
 
getService() - Method in class org.apache.hivemind.impl.servicemodel.ThreadedServiceModel
Always returns the service proxy.
getService(Class) - Method in class org.apache.hivemind.impl.ServicePointImpl
 
getService(String, Class) - Method in class org.apache.hivemind.internal.AbstractConstructionContext
 
getService(Class) - Method in class org.apache.hivemind.internal.AbstractConstructionContext
 
getService(String, Class) - Method in interface org.apache.hivemind.internal.Module
Looks up the ServicePoint (throwing an exception if not found) and invokes ServicePoint.getService(Class).
getService(Class) - Method in interface org.apache.hivemind.internal.Module
Finds a service that implements the provided interface.
getService(String, Class, Module) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Obtains a service from the registry.
getService(Class, Module) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Finds a service that implements the provided interface.
getService() - Method in interface org.apache.hivemind.internal.ServiceModel
Invoked by the service extension point to obtain the service implementation.
getService(Class) - Method in interface org.apache.hivemind.internal.ServicePoint
Obtains the full service implementation for this service extension point, an object that implements the service interface.
getService(String, Class) - Method in interface org.apache.hivemind.Registry
Obtains a service from the registry.
getService(Class) - Method in interface org.apache.hivemind.Registry
Convenience method to obtain a service with a single implementation from the registry.
getServiceConstructor() - Method in class org.apache.hivemind.definition.impl.ImplementationDefinitionImpl
 
getServiceConstructor() - Method in interface org.apache.hivemind.definition.ImplementationDefinition
 
getServiceConstructor() - Method in interface org.apache.hivemind.impl.ConstructableServicePoint
Returns the constructor that can create the core service implementation.
getServiceConstructor() - Method in class org.apache.hivemind.impl.ServicePointImpl
Returns the service constructor.
getServiceExtensionPointId() - Method in class org.apache.hivemind.impl.InterceptorStackImpl
 
getServiceExtensionPointId() - Method in interface org.apache.hivemind.InterceptorStack
Return the full id of the service extension point for which interceptors are being fabricated.
getServiceFromToken(ServiceToken) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getServiceFromToken(ServiceToken) - Method in interface org.apache.hivemind.internal.ser.ServiceSerializationSupport
Returns the service (proxy) for the indicated token.
getServiceId() - Method in class org.apache.hivemind.internal.ser.ServiceToken
 
getServiceIds(Class) - Method in class org.apache.hivemind.impl.RegistryImpl
 
getServiceIds(Class) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getServiceIds(Class) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
 
getServiceIds(Class) - Method in interface org.apache.hivemind.Registry
Returns a list of service ids for service points which implement the desired service interface.
getServiceImplementationForCurrentThread() - Method in class org.apache.hivemind.impl.servicemodel.PooledServiceModel
 
getServiceImplementationForCurrentThread() - Method in class org.apache.hivemind.impl.servicemodel.ThreadedServiceModel
Invoked by the proxy to return the active service impl for this thread, constructing it as necessary.
getServiceInterface() - Method in class org.apache.hivemind.impl.InterceptorStackImpl
 
getServiceInterface() - Method in class org.apache.hivemind.impl.ServicePointImpl
 
getServiceInterface() - Method in interface org.apache.hivemind.InterceptorStack
Returns the interface for the service; the same as ServicePoint.getServiceInterface().
getServiceInterface() - Method in interface org.apache.hivemind.internal.ServicePoint
Returns the type of the service, the interface the service implements.
getServiceInterfaceClassName() - Method in class org.apache.hivemind.impl.ServicePointImpl
 
getServiceInterfaceClassName() - Method in interface org.apache.hivemind.internal.ServicePoint
Returns the fully qualified class name of the service interface.
getServiceLog() - Method in class org.apache.hivemind.impl.InterceptorStackImpl
 
getServiceLog() - Method in interface org.apache.hivemind.InterceptorStack
Returns the Log instance that should be used to log any information about the service, or the construction of the service.
getServiceModel() - Method in class org.apache.hivemind.definition.impl.ImplementationDefinitionImpl
 
getServiceModel() - Method in interface org.apache.hivemind.definition.ImplementationDefinition
 
getServiceModel() - Method in class org.apache.hivemind.impl.ServicePointImpl
 
getServiceModelFactory(String) - Method in class org.apache.hivemind.impl.ModuleImpl
 
getServiceModelFactory(String) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getServiceModelFactory(String) - Method in interface org.apache.hivemind.internal.Module
 
getServiceModelFactory(String) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Returns a named service-model factory
getServiceModule() - Method in class org.apache.hivemind.impl.InterceptorStackImpl
 
getServiceModule() - Method in interface org.apache.hivemind.InterceptorStack
Returns the module which contains the service extension point.
getServicePoint(String) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getServicePoint(String) - Method in class org.apache.hivemind.definition.impl.RegistryDefinitionImpl
 
getServicePoint() - Method in interface org.apache.hivemind.definition.ImplementationConstructionContext
 
getServicePoint(String) - Method in interface org.apache.hivemind.definition.ModuleDefinition
Returns a service point that is identified by its id.
getServicePoint(String) - Method in interface org.apache.hivemind.definition.RegistryDefinition
Returns a service point that is identified by its id.
getServicePoint(String) - Method in class org.apache.hivemind.impl.ModuleImpl
 
getServicePoint(String, Module) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getServicePoint() - Method in class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
 
getServicePoint() - Method in class org.apache.hivemind.internal.ImplementationConstructionContextImpl
 
getServicePoint(String) - Method in interface org.apache.hivemind.internal.Module
Returns the identified service extension point.
getServicePoint(String, Module) - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Returns the identified service extension point.
getServicePointDefinition() - Method in class org.apache.hivemind.impl.ServicePointImpl
 
getServicePointDefinition() - Method in interface org.apache.hivemind.internal.ServicePoint
 
getServicePoints() - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
getServicePoints() - Method in interface org.apache.hivemind.definition.ModuleDefinition
 
getServiceSerializationSupport() - Static method in class org.apache.hivemind.internal.ser.ServiceSerializationHelper
Returns the previously stored SSS.
getServiceTokenForService(String) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
getServiceTokenForService(String) - Method in interface org.apache.hivemind.internal.ser.ServiceSerializationSupport
Returns a ServiceToken corresponding to the indicated serviceId.
getSource() - Method in class org.apache.hivemind.service.impl.AbstractFab
 
getStrategy() - Method in class org.apache.hivemind.service.impl.AutowiringStrategyContribution
 
getToString() - Method in class org.apache.hivemind.service.MethodIterator
Returns true if the method public String toString() is part of the interface.
getUniqueId() - Method in class org.apache.hivemind.service.MethodSignature
Returns a string consisting of the name of the method and its parameter values.
getVisibility() - Method in interface org.apache.hivemind.definition.ExtensionPointDefinition
 
getVisibility() - Method in class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
 
getVisibility() - Method in class org.apache.hivemind.impl.AbstractExtensionPoint
 
getWriteableProperties(Object) - Static method in class org.apache.hivemind.util.PropertyUtils
Returns an unordered List of the names of all writable properties of the target.
getWriteMethodName() - Method in class org.apache.hivemind.util.PropertyAdaptor
Returns the name of the method used to write the property, or null if the property is not writable.

H

hashCode() - Method in class org.apache.hivemind.impl.LocationImpl
 
hashCode() - Method in class org.apache.hivemind.service.MethodSignature
 
hashCode() - Method in class org.apache.hivemind.util.ClasspathResource
 
hashCode() - Method in class org.apache.hivemind.util.ContextResource
 
hasNext() - Method in class org.apache.hivemind.service.MethodIterator
 
HiveMind - Class in org.apache.hivemind
Static utility class for HiveMind.
HIVEMIND_SECTION_NAME - Static variable in class org.apache.hivemind.impl.RegistryProviderAutoDetector
 
HiveMindClassPool - Class in org.apache.hivemind.service.impl
Used to ensure that ClassPool.appendClassPath(javassist.ClassPath) is invoked with a synchronized lock.
HiveMindClassPool() - Constructor for class org.apache.hivemind.service.impl.HiveMindClassPool
 
HiveMindMessages - Class in org.apache.hivemind
Used to format general-purpose messages used in code within HiveMind.
HiveMindMessages() - Constructor for class org.apache.hivemind.HiveMindMessages
 
HiveMindTestCase - Class in org.apache.hivemind.test
Contains some support for creating HiveMind tests; this is useful enough that has been moved into the main framework, to simplify creation of tests in the dependent libraries.
HiveMindTestCase() - Constructor for class org.apache.hivemind.test.HiveMindTestCase
 

I

IdUtils - Class in org.apache.hivemind.util
A collection of utilities for handling qualified and unqualified ids.
IdUtils() - Constructor for class org.apache.hivemind.util.IdUtils
 
ImplementationConstructionContext - Interface in org.apache.hivemind.definition
Provides access to information and services needed during the construction of an implementation.
ImplementationConstructionContextImpl - Class in org.apache.hivemind.internal
Implementation of ImplementationConstructionContext.
ImplementationConstructionContextImpl(Module, ServicePoint) - Constructor for class org.apache.hivemind.internal.ImplementationConstructionContextImpl
 
ImplementationConstructor - Interface in org.apache.hivemind.definition
Creates the core service instance of a service point
ImplementationDefinition - Interface in org.apache.hivemind.definition
Defines an implementation of a service point.
ImplementationDefinitionImpl - Class in org.apache.hivemind.definition.impl
Default implementation of ImplementationDefinition.
ImplementationDefinitionImpl(ModuleDefinition) - Constructor for class org.apache.hivemind.definition.impl.ImplementationDefinitionImpl
 
ImplementationDefinitionImpl(ModuleDefinition, Location, ImplementationConstructor, String, boolean) - Constructor for class org.apache.hivemind.definition.impl.ImplementationDefinitionImpl
 
INCLUDE_HASHCODE - Static variable in class org.apache.hivemind.util.ToStringBuilder
 
INCLUDE_PACKAGE_PREFIX - Static variable in class org.apache.hivemind.util.ToStringBuilder
 
InfixNameFilter - Class in org.apache.hivemind.methodmatch
Matches a method when the provided string appears anywhere in the method name.
InfixNameFilter(String) - Constructor for class org.apache.hivemind.methodmatch.InfixNameFilter
 
init(FilterConfig) - Method in class org.apache.hivemind.servlet.AutoloadingHiveMindFilter
Constructs a Registry and stores it into the ServletContext.
inRange(int) - Method in class org.apache.hivemind.definition.Occurances
Validates that an actual count is in range for the particular Occurances count.
InstanceCreationUtils - Class in org.apache.hivemind.util
Code for creating an instance, possibly setting its Location, and possibly initializing its properties.
InstanceCreationUtils() - Constructor for class org.apache.hivemind.util.InstanceCreationUtils
 
instantiateService() - Method in class org.apache.hivemind.impl.servicemodel.PooledServiceModel
Invokes PooledServiceModel.getServiceImplementationForCurrentThread() to instantiate an instance of the service.
instantiateService() - Method in class org.apache.hivemind.impl.servicemodel.PrimitiveServiceModel
Invokes PrimitiveServiceModel.getService() to ensure that the core service implementation has been instantiated.
instantiateService() - Method in class org.apache.hivemind.impl.servicemodel.SingletonServiceModel
 
instantiateService() - Method in class org.apache.hivemind.impl.servicemodel.ThreadedServiceModel
Invokes ThreadedServiceModel.getServiceImplementationForCurrentThread() to force the creation of the service implementation.
instantiateService() - Method in interface org.apache.hivemind.internal.ServiceModel
Forces the core service implementation (and any interceptors) to be fully instantiated immediately, rather than waiting for the first service method invocation.
interceptLogging(String) - Method in class org.apache.hivemind.test.HiveMindTestCase
Sets up an appender to intercept logging for the specified logger.
InterceptorConstructor - Interface in org.apache.hivemind.definition
Creates a service interceptor for a service point.
InterceptorDefinition - Interface in org.apache.hivemind.definition
Defines an interceptor for the methods of a service point.
InterceptorDefinitionImpl - Class in org.apache.hivemind.definition.impl
Default implementation of InterceptorDefinition.
InterceptorDefinitionImpl(ModuleDefinition) - Constructor for class org.apache.hivemind.definition.impl.InterceptorDefinitionImpl
 
InterceptorDefinitionImpl(ModuleDefinition, String, Location, InterceptorConstructor) - Constructor for class org.apache.hivemind.definition.impl.InterceptorDefinitionImpl
 
InterceptorStack - Interface in org.apache.hivemind
Used when constructing an interceptor stack around a service implementation instance.
InterceptorStackImpl - Class in org.apache.hivemind.impl
Implementation of the InterceptorStack interface; localizes error checking in one place.
InterceptorStackImpl(Log, ServicePoint, Object) - Constructor for class org.apache.hivemind.impl.InterceptorStackImpl
 
INTERFACE_SYNTHESIZER_SERVICE - Static variable in class org.apache.hivemind.HiveMind
The full id of the InterfaceSynthesizer service.
InterfaceFab - Interface in org.apache.hivemind.service
A cousin to ClassFab used to create new interfaces.
InterfaceFabImpl - Class in org.apache.hivemind.service.impl
 
InterfaceFabImpl(CtClassSource, CtClass) - Constructor for class org.apache.hivemind.service.impl.InterfaceFabImpl
 
InterfaceSynthesizer - Interface in org.apache.hivemind.service
Creates a synthetic interface based on the provided class.
InterfaceSynthesizerImpl - Class in org.apache.hivemind.service.impl
 
InterfaceSynthesizerImpl() - Constructor for class org.apache.hivemind.service.impl.InterfaceSynthesizerImpl
 
INTROSPECTOR_MUTEX - Static variable in class org.apache.hivemind.HiveMind
An object used to synchronize access to Introspector (which is not fully threadsafe).
invoke(Constructor, Object[]) - Static method in class org.apache.hivemind.util.ConstructorUtils
 
invokeConstructor(Class, Object[]) - Static method in class org.apache.hivemind.util.ConstructorUtils
Searches for a constructor matching against the provided arguments.
IOUtils - Class in org.apache.hivemind.util
Tiny utilities used with InputStream and friends.
IOUtils() - Constructor for class org.apache.hivemind.util.IOUtils
 
isAssignable(Object, Class, String) - Static method in class org.apache.hivemind.util.Defense
Check that a parameter is not null, and assignable to a particular type.
isBlank(String) - Static method in class org.apache.hivemind.HiveMind
Returns true if the string is null, empty, or contains only whitespace.
isCompatible(Class, Class) - Static method in class org.apache.hivemind.util.ConstructorUtils
 
isDefault() - Method in class org.apache.hivemind.definition.impl.ImplementationDefinitionImpl
 
isDefault() - Method in interface org.apache.hivemind.definition.ImplementationDefinition
 
isEmpty(Collection) - Static method in class org.apache.hivemind.HiveMind
Returns true if the Collection is null or empty.
isInitalContribution() - Method in interface org.apache.hivemind.definition.ContributionDefinition
 
isInitalContribution() - Method in class org.apache.hivemind.definition.impl.ContributionDefinitionImpl
 
isLazy() - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
 
isNonBlank(String) - Static method in class org.apache.hivemind.HiveMind
As with HiveMind.isBlank(String), but inverts the response.
isOverridingSignatureOf(MethodSignature) - Method in class org.apache.hivemind.service.MethodSignature
Returns true if this signature has the same return type, name and parameters types as the method signature passed in, and this signatures exceptions "trump" (are the same as, or super-implementations of, all exceptions thrown by the other method signature).
isReadable() - Method in class org.apache.hivemind.util.PropertyAdaptor
Returns true if there's a read method for the property.
isReadable(Object, String) - Static method in class org.apache.hivemind.util.PropertyUtils
 
isToString(Method) - Static method in class org.apache.hivemind.service.ClassFabUtils
Returns true if the method is the standard toString() method.
isWritable() - Method in class org.apache.hivemind.util.PropertyAdaptor
Returns true if there's a write method for the property.
isWritable(Object, String) - Static method in class org.apache.hivemind.util.PropertyUtils
Returns true of the instance contains a writable property of the given type.

J

JavaTypeUtils - Class in org.apache.hivemind.impl
Holds a utility method that converts java type names (as they might appear in source code) into JVM class names.
join(String[], char) - Static method in class org.apache.hivemind.util.StringUtils
 

L

LocalizedContextResourceFinder - Class in org.apache.hivemind.util
Finds localized resources within the web application context.
LocalizedContextResourceFinder(ServletContext) - Constructor for class org.apache.hivemind.util.LocalizedContextResourceFinder
 
LocalizedFileResourceFinder - Class in org.apache.hivemind.util
Used by FileResource to locate localizations of a given file.
LocalizedFileResourceFinder() - Constructor for class org.apache.hivemind.util.LocalizedFileResourceFinder
 
LocalizedNameGenerator - Class in org.apache.hivemind.util
Used in a wide variety of resource searches.
LocalizedNameGenerator(String, Locale, String) - Constructor for class org.apache.hivemind.util.LocalizedNameGenerator
 
LocalizedResource - Class in org.apache.hivemind.util
Contains the path to a localized resource and the locale for which it has been localized.
LocalizedResource(String, Locale) - Constructor for class org.apache.hivemind.util.LocalizedResource
 
LocalizedResourceFinder - Class in org.apache.hivemind.util
Searches for a localization of a particular resource in the classpath (using a ClassResolver.
LocalizedResourceFinder(ClassResolver) - Constructor for class org.apache.hivemind.util.LocalizedResourceFinder
 
Locatable - Interface in org.apache.hivemind
Interface for classes that may be linked to a specific location.
Location - Interface in org.apache.hivemind
Represents a location within a resource; this is universally used to support error reporting, by relating run-time objects back to specific locations wtihin specific resources.
LocationHolder - Interface in org.apache.hivemind
Common interface for objects that can hold a location, typically, the location within a Resource from which the object was created.
LocationImpl - Class in org.apache.hivemind.impl
Implementation of the Location interface.
LocationImpl(Resource) - Constructor for class org.apache.hivemind.impl.LocationImpl
 
LocationImpl(Resource, int) - Constructor for class org.apache.hivemind.impl.LocationImpl
 
LocationImpl(Resource, int, int) - Constructor for class org.apache.hivemind.impl.LocationImpl
 
LoggingInterceptorClassFactory - Class in org.apache.hivemind.service.impl
Factory for creation of interceptor classes that add logging capability to a service.
LoggingInterceptorClassFactory(ClassFactory) - Constructor for class org.apache.hivemind.service.impl.LoggingInterceptorClassFactory
 
LoggingUtils - Class in org.apache.hivemind.service.impl
Collection of static methods used by loggers to log method entry and exit.
LoggingUtils() - Constructor for class org.apache.hivemind.service.impl.LoggingUtils
 

M

MANIFEST - Static variable in class org.apache.hivemind.impl.RegistryProviderAutoDetector
 
MatchAllFilter - Class in org.apache.hivemind.methodmatch
Matches all methods, regardless of name.
MatchAllFilter() - Constructor for class org.apache.hivemind.methodmatch.MatchAllFilter
 
matches(Object[], Object[]) - Method in class org.apache.hivemind.test.AggregateArgumentsMatcher
 
matches(String, String) - Method in class org.apache.hivemind.test.HiveMindTestCase
 
matchMethod(MethodSignature) - Method in class org.apache.hivemind.methodmatch.CompositeFilter
 
matchMethod(MethodSignature) - Method in class org.apache.hivemind.methodmatch.ExactNameFilter
 
matchMethod(MethodSignature) - Method in class org.apache.hivemind.methodmatch.InfixNameFilter
 
matchMethod(MethodSignature) - Method in class org.apache.hivemind.methodmatch.MatchAllFilter
Returns true, always.
matchMethod(MethodSignature) - Method in class org.apache.hivemind.methodmatch.MethodFilter
Analyzes the method (its name, its parameters, etc.) and returns true if the method matches the filter defined by a subclass.
matchMethod(MethodSignature) - Method in class org.apache.hivemind.methodmatch.NamePrefixFilter
 
matchMethod(MethodSignature) - Method in class org.apache.hivemind.methodmatch.NameSuffixFilter
 
matchMethod(MethodSignature) - Method in class org.apache.hivemind.methodmatch.ParameterCountFilter
 
matchMethod(MethodSignature) - Method in class org.apache.hivemind.methodmatch.ParameterFilter
 
mergeContribution(Object) - Method in interface org.apache.hivemind.definition.ContributionContext
Merges contribution data with the data already provided by other contributions.
MessageFinder - Interface in org.apache.hivemind.internal
An abstraction around the ResourceBundler-style property names and localized messages.
MessageFinderImpl - Class in org.apache.hivemind.impl
 
MessageFinderImpl(Resource) - Constructor for class org.apache.hivemind.impl.MessageFinderImpl
 
MessageFormatter - Class in org.apache.hivemind.impl
A wrapper around ResourceBundle that makes it easier to access and format messages.
MessageFormatter(ResourceBundle) - Constructor for class org.apache.hivemind.impl.MessageFormatter
 
MessageFormatter(Log, ResourceBundle) - Constructor for class org.apache.hivemind.impl.MessageFormatter
Deprecated. in 1.2, to be removed in a later release. Use MessageFormatter.MessageFormatter(ResourceBundle) instead.
MessageFormatter(Class) - Constructor for class org.apache.hivemind.impl.MessageFormatter
Assumes that the bundle name is the same as the reference class, with "Messages" stripped off, and "Strings" appended.
MessageFormatter(Class, String) - Constructor for class org.apache.hivemind.impl.MessageFormatter
 
MessageFormatter(Log, Class, String) - Constructor for class org.apache.hivemind.impl.MessageFormatter
Deprecated. in 1.2, to be removed in a later release. Use MessageFormatter.MessageFormatter(Class, String) instead.
MessageFormatter(String) - Constructor for class org.apache.hivemind.impl.MessageFormatter
 
MessageFormatter(Log, String) - Constructor for class org.apache.hivemind.impl.MessageFormatter
Deprecated. in 1.2, to be removed in a later release. Use MessageFormatter.MessageFormatter(String) instead.
Messages - Interface in org.apache.hivemind
A set of localized message strings.
MethodContribution - Class in org.apache.hivemind.service
Contains contributions defined by the hivemind.MethodFilter schema.
MethodContribution() - Constructor for class org.apache.hivemind.service.MethodContribution
 
MethodFab - Interface in org.apache.hivemind.service
Represents a created method on a class; used to add catch handlers.
MethodFilter - Class in org.apache.hivemind.methodmatch
Used by a MethodMatcher to see if a Method matches a particular (set of) requirements.
MethodFilter() - Constructor for class org.apache.hivemind.methodmatch.MethodFilter
 
MethodIterator - Class in org.apache.hivemind.service
Utility used to iterate over the visible methods of a class.
MethodIterator(Class) - Constructor for class org.apache.hivemind.service.MethodIterator
 
MethodMatcher - Class in org.apache.hivemind.methodmatch
A utility class used for matching a MethodSignature against a method pattern (this is primarily used by interceptor factories).
MethodMatcher(Object) - Constructor for class org.apache.hivemind.methodmatch.MethodMatcher
Constructor that takes a default value returned when no stored method pattern matches the input to MethodMatcher.get(MethodSignature).
MethodMatcher() - Constructor for class org.apache.hivemind.methodmatch.MethodMatcher
 
MethodPatternParser - Class in org.apache.hivemind.methodmatch
Parses a method pattern (consisting of a name pattern, followed by an optional parameters pattern) into a MethodFilter.
MethodPatternParser() - Constructor for class org.apache.hivemind.methodmatch.MethodPatternParser
 
MethodSignature - Class in org.apache.hivemind.service
A representation of a Method, identifying the name, return type, parameter types and exception types.
MethodSignature(Class, String, Class[], Class[]) - Constructor for class org.apache.hivemind.service.MethodSignature
 
MethodSignature(Method) - Constructor for class org.apache.hivemind.service.MethodSignature
 
Module - Interface in org.apache.hivemind.internal
The definition of a HiveMind Module.
ModuleDefinition - Interface in org.apache.hivemind.definition
Defines a module of a RegistryDefinition.
ModuleDefinitionHelper - Class in org.apache.hivemind.definition.impl
Helper class that offers convenience functions for the definition of modules and its extension points.
ModuleDefinitionHelper(ModuleDefinitionImpl) - Constructor for class org.apache.hivemind.definition.impl.ModuleDefinitionHelper
 
ModuleDefinitionImpl - Class in org.apache.hivemind.definition.impl
Default implementation of ExtensionDefinition.
ModuleDefinitionImpl() - Constructor for class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
ModuleDefinitionImpl(String, Location, ClassResolver, String) - Constructor for class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
 
ModuleImpl - Class in org.apache.hivemind.impl
Implementation of Module.
ModuleImpl() - Constructor for class org.apache.hivemind.impl.ModuleImpl
 
ModuleMessages - Class in org.apache.hivemind.impl
An implementation of Messages that obtains messages from a MessageFinder, in a locale provided by the ThreadLocale service.
ModuleMessages(MessageFinder, ThreadLocale) - Constructor for class org.apache.hivemind.impl.ModuleMessages
 
more() - Method in class org.apache.hivemind.util.LocalizedNameGenerator
Returns true if there are more name variants to be returned, false otherwise.

N

NamePrefixFilter - Class in org.apache.hivemind.methodmatch
Matches when a provide name is a prefix of the method name.
NamePrefixFilter(String) - Constructor for class org.apache.hivemind.methodmatch.NamePrefixFilter
 
NameSuffixFilter - Class in org.apache.hivemind.methodmatch
Used to match a method name against a suffix.
NameSuffixFilter(String) - Constructor for class org.apache.hivemind.methodmatch.NameSuffixFilter
 
newClass(String, Class) - Method in interface org.apache.hivemind.service.ClassFactory
Creates a ClassFab object for the given name; the new class is a subclass of the indicated class.
newClass(String, Class) - Method in class org.apache.hivemind.service.impl.ClassFactoryImpl
 
newClass(String, Class) - Method in class org.apache.hivemind.service.impl.CtClassSource
 
newControl(Class) - Method in class org.apache.hivemind.test.HiveMindTestCase
Creates a managed control via MockControl.createStrictControl(java.lang.Class).
newInterface(String) - Method in interface org.apache.hivemind.service.ClassFactory
Creates a new InterfaceFab object with the given name.
newInterface(String) - Method in class org.apache.hivemind.service.impl.ClassFactoryImpl
 
newInterface(String) - Method in class org.apache.hivemind.service.impl.CtClassSource
Creates a new, empty interace, with the given name.
newLocation() - Method in class org.apache.hivemind.test.HiveMindTestCase
Returns a new Location instance.
newMock(Class) - Method in class org.apache.hivemind.test.HiveMindTestCase
Convienience for invoking HiveMindTestCase.newControl(Class) and then invoking MockControl.getMock() on the result.
newResource(String) - Method in class org.apache.hivemind.util.AbstractResource
 
newResource(String) - Method in class org.apache.hivemind.util.ClasspathResource
 
newResource(String) - Method in class org.apache.hivemind.util.ContextResource
 
newResource(String) - Method in class org.apache.hivemind.util.FileResource
 
newResource(String) - Method in class org.apache.hivemind.util.URLResource
 
next() - Method in class org.apache.hivemind.service.MethodIterator
Returns the next method (as a MethodSignature, returning null when all are exhausted.
next() - Method in class org.apache.hivemind.util.LocalizedNameGenerator
Returns the next localized variant.
NONE - Static variable in class org.apache.hivemind.definition.Occurances
 
notNull(Object, String) - Static method in class org.apache.hivemind.util.Defense
Check for null parameter when not allowed.

O

occurances(Occurances) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 
Occurances - Class in org.apache.hivemind.definition
Identifies the number of contributions allowed to a configuration extension point.
ONE_PLUS - Static variable in class org.apache.hivemind.definition.Occurances
At least one is required.
OPTIONAL - Static variable in class org.apache.hivemind.definition.Occurances
Optional, may be zero or one, but not more.
Orderable - Interface in org.apache.hivemind
Interface typically used by configuration items that wish to be ordered.
OrderedInterceptorDefinitionImpl - Class in org.apache.hivemind.definition.impl
Specialization of InterceptorDefinitionImpl that implements the Orderable interface.
OrderedInterceptorDefinitionImpl(ModuleDefinition, String, Location, InterceptorConstructor, String, String) - Constructor for class org.apache.hivemind.definition.impl.OrderedInterceptorDefinitionImpl
 
Orderer - Class in org.apache.hivemind.order
Used to order objects into an "execution" order.
Orderer(ErrorHandler, String) - Constructor for class org.apache.hivemind.order.Orderer
Creates an instance using org.apache.hivemind.order.Orderer as the Log.
Orderer(Log, ErrorHandler, String) - Constructor for class org.apache.hivemind.order.Orderer
Creates a new instance, but directs all debug and error logging output to the provided log.
Orderer(ErrorLog, String) - Constructor for class org.apache.hivemind.order.Orderer
Creates a new instance.
org.apache.hivemind - package org.apache.hivemind
The main HiveMind package.
org.apache.hivemind.definition - package org.apache.hivemind.definition
This package contains the interfaces that are needed for the definition of a registry.
org.apache.hivemind.definition.impl - package org.apache.hivemind.definition.impl
Default implementations of the registry definition API.
org.apache.hivemind.events - package org.apache.hivemind.events
 
org.apache.hivemind.impl - package org.apache.hivemind.impl
Implementations of interfaces defined in the org.apache.commons.hivemind package.
org.apache.hivemind.impl.servicemodel - package org.apache.hivemind.impl.servicemodel
 
org.apache.hivemind.internal - package org.apache.hivemind.internal
 
org.apache.hivemind.internal.ser - package org.apache.hivemind.internal.ser
Serialization of services.
org.apache.hivemind.methodmatch - package org.apache.hivemind.methodmatch
 
org.apache.hivemind.order - package org.apache.hivemind.order
Classes and interfaces for ordering objects based on dependencies.
org.apache.hivemind.service - package org.apache.hivemind.service
Definitions of services provided by the hivemind module.
org.apache.hivemind.service.impl - package org.apache.hivemind.service.impl
Implementations of services provided by the hivemind module.
org.apache.hivemind.servlet - package org.apache.hivemind.servlet
Classes to support use of HiveMind within servlet applications.
org.apache.hivemind.test - package org.apache.hivemind.test
Base classes and utilities to support unit tests involving HiveMind.
org.apache.hivemind.util - package org.apache.hivemind.util
Implementations of Resource and related utilities.

P

ParameterCountFilter - Class in org.apache.hivemind.methodmatch
Checks the number of parameters against an expected count.
ParameterCountFilter(int) - Constructor for class org.apache.hivemind.methodmatch.ParameterCountFilter
 
ParameterFilter - Class in org.apache.hivemind.methodmatch
Matches a parameter at a particular index.
ParameterFilter(int, String) - Constructor for class org.apache.hivemind.methodmatch.ParameterFilter
 
paramNotNull(String) - Static method in class org.apache.hivemind.HiveMindMessages
 
paramWrongType(String, Object, Class) - Static method in class org.apache.hivemind.HiveMindMessages
 
parse(ContributionContext, InputStream) - Method in interface org.apache.hivemind.definition.ConfigurationParser
Parses a configuration and returns the converted data.
parse(ContributionContext, Object) - Method in interface org.apache.hivemind.definition.ConfigurationParser
Parses a configuration and returns the converted data.
parseMethodPattern(String) - Method in class org.apache.hivemind.methodmatch.MethodPatternParser
 
passivateService() - Method in interface org.apache.hivemind.PoolManageable
Invoked when a service is unbound from a thread, just before being returned to the service pool.
peek() - Method in class org.apache.hivemind.impl.InterceptorStackImpl
 
peek() - Method in interface org.apache.hivemind.InterceptorStack
Returns the current top object on the stack.
POOLED - Static variable in interface org.apache.hivemind.internal.ServiceModel
 
PooledServiceModel - Class in org.apache.hivemind.impl.servicemodel
Similar to the threaded service model, except that, once created, services are pooled for later use.
PooledServiceModel(ConstructableServicePoint) - Constructor for class org.apache.hivemind.impl.servicemodel.PooledServiceModel
 
PooledServiceModelFactory - Class in org.apache.hivemind.impl.servicemodel
 
PooledServiceModelFactory() - Constructor for class org.apache.hivemind.impl.servicemodel.PooledServiceModelFactory
 
PoolManageable - Interface in org.apache.hivemind
Interface for core service implementations that are managed using the pooled service model.
postprocess(RegistryDefinition, ErrorHandler) - Method in interface org.apache.hivemind.definition.RegistryDefinitionPostProcessor
Is called after all registry providers have run through their process method.
PRIMITIVE - Static variable in interface org.apache.hivemind.internal.ServiceModel
 
PrimitiveServiceModel - Class in org.apache.hivemind.impl.servicemodel
Implementation of ServiceModel for the primitive services (that do not include the standard deferred instantiation proxy).
PrimitiveServiceModel(ConstructableServicePoint) - Constructor for class org.apache.hivemind.impl.servicemodel.PrimitiveServiceModel
 
PrimitiveServiceModelFactory - Class in org.apache.hivemind.impl.servicemodel
 
PrimitiveServiceModelFactory() - Constructor for class org.apache.hivemind.impl.servicemodel.PrimitiveServiceModelFactory
 
PRIVATE - Static variable in class org.apache.hivemind.definition.Visibility
Restricts access to the artifact to just the module which defines it.
process(RegistryDefinition, ErrorHandler) - Method in class org.apache.hivemind.impl.CoreServicesProvider
 
process(InterceptorDefinition) - Method in class org.apache.hivemind.impl.InterceptorStackImpl
Invoked to process the next interceptor contribution; these should be processed in ascending order.
process(RegistryDefinition, ErrorHandler) - Method in interface org.apache.hivemind.impl.RegistryProvider
Called during the registry definition phase, before the registry is constructed.
PropertyAdaptor - Class in org.apache.hivemind.util
Used to manage dynamic access to a property of a specific class.
PropertyUtils - Class in org.apache.hivemind.util
A collection of static methods used to perform property-level access on arbitrary objects.
PROVIDER_ATTRIBUTE_NAME - Static variable in class org.apache.hivemind.impl.RegistryProviderAutoDetector
 
ProxyBuilder - Class in org.apache.hivemind.impl
Class used to assist extension points in creating proxies.
ProxyBuilder(String, Module, Class, Class, boolean) - Constructor for class org.apache.hivemind.impl.ProxyBuilder
Constructs a new builder.
ProxyUtils - Class in org.apache.hivemind.impl
Contains some common code used to create proxies that defer to a service model method for thier service.
PUBLIC - Static variable in class org.apache.hivemind.definition.Visibility
The default visibility, allowing access to the artifact from any module.
push(Object) - Method in class org.apache.hivemind.impl.InterceptorStackImpl
 
push(Object) - Method in interface org.apache.hivemind.InterceptorStack
Pushes a new instance onto the stack.
put(String, Object) - Method in class org.apache.hivemind.methodmatch.MethodMatcher
Stores a pattern and an associated value.
put(String, Object) - Method in class org.apache.hivemind.service.impl.ThreadLocalStorageImpl
 
put(String, Object) - Method in interface org.apache.hivemind.service.ThreadLocalStorage
Stores the value object at the given key, overwriting any prior value that may have been stored at that key.
put(Object, Object) - Method in class org.apache.hivemind.util.UniqueHashMap
 

Q

qualify(String, String) - Static method in class org.apache.hivemind.util.IdUtils
Returns a fully qualfied id.
qualifyList(String, String) - Static method in class org.apache.hivemind.util.IdUtils
Qualifies a list of interceptor service ids provided for an interceptor contribution.

R

read(Object) - Method in class org.apache.hivemind.util.PropertyAdaptor
Reads the property of the target object.
read(Object, String) - Static method in class org.apache.hivemind.util.PropertyUtils
Updates the property of the target object.
readExternal(ObjectInput) - Method in class org.apache.hivemind.internal.ser.ServiceToken
 
rebuildRegistry(HttpServletRequest) - Static method in class org.apache.hivemind.servlet.AutoloadingHiveMindFilter
Sets a flag in the request that will cause the current Registry to be shutdown and replaced with a new Registry (at the end of the current request).
RegexpMatcher - Class in org.apache.hivemind.test
A ArgumentMatcher implementation that treats the expected value (provided while training the mock object) as a Perl5 Regular expression, which is matched against the actual value.
RegexpMatcher() - Constructor for class org.apache.hivemind.test.RegexpMatcher
 
registerWithShutdownCoordinator(Object) - Method in class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
Invoked after creating a service implementation object; if the object implements RegistryShutdownListener, then the object is added as a listener.
Registry - Interface in org.apache.hivemind
The HiveMind registry; primarily this is used to gain access to services.
RegistryBuilder - Class in org.apache.hivemind.impl
Class used to build a Registry from a RegistryDefinition.
RegistryBuilder() - Constructor for class org.apache.hivemind.impl.RegistryBuilder
Constructs a new instance that starts with a empty RegistryDefinition which can be requested by RegistryBuilder.getRegistryDefinition().
RegistryBuilder(RegistryDefinition) - Constructor for class org.apache.hivemind.impl.RegistryBuilder
Constructs a new instance that starts with the provided RegistryDefinition.
RegistryBuilder(ErrorHandler) - Constructor for class org.apache.hivemind.impl.RegistryBuilder
 
RegistryBuilder(RegistryDefinition, ErrorHandler) - Constructor for class org.apache.hivemind.impl.RegistryBuilder
 
RegistryDefinition - Interface in org.apache.hivemind.definition
Defines all modules and their service and configuration points which build a registry.
RegistryDefinitionImpl - Class in org.apache.hivemind.definition.impl
Default implementation of RegistryDefinition.
RegistryDefinitionImpl() - Constructor for class org.apache.hivemind.definition.impl.RegistryDefinitionImpl
 
RegistryDefinitionPostProcessor - Interface in org.apache.hivemind.definition
Interface for post processors that want to get after the definition phase of a registry before the registry is started up.
registryDidShutdown() - Method in interface org.apache.hivemind.events.RegistryShutdownListener
Invoked when a service is being shutdown, and should release any external resources.
RegistryImpl - Class in org.apache.hivemind.impl
Implementation of Registry that delegates to an instance of RegistryInfrastructure.
RegistryImpl(RegistryInfrastructure) - Constructor for class org.apache.hivemind.impl.RegistryImpl
 
RegistryInfrastructure - Interface in org.apache.hivemind.internal
Extension of Registry provided by some internals of HiveMind to faciliate the creation of services and configurations.
RegistryInfrastructureConstructor - Class in org.apache.hivemind.impl
Fed a RegistryDefinitions, this class will assemble them into a final RegistryInfrastructure as well as perform some validations.
RegistryInfrastructureConstructor(ErrorHandler, Log, Locale) - Constructor for class org.apache.hivemind.impl.RegistryInfrastructureConstructor
 
RegistryInfrastructureImpl - Class in org.apache.hivemind.impl
Implementation of RegistryInfrastructure.
RegistryInfrastructureImpl(ErrorHandler, Locale) - Constructor for class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
RegistryInitializationListener - Interface in org.apache.hivemind.events
Lifecycle interface that may be implemented by objects that need to know when the Registry has been fully initialized and that need a reference to the RegistryInfrastructure interface.
registryInitialized(RegistryInfrastructure) - Method in interface org.apache.hivemind.events.RegistryInitializationListener
Invoked when the registry has been initialized.
RegistryProvider - Interface in org.apache.hivemind.impl
A registry provider contributes module definitions to a RegistryDefinition.
RegistryProviderAutoDetector - Class in org.apache.hivemind.impl
Searches for RegistryProvider implementations that are defined in manifest files.
RegistryProviderAutoDetector(ClassResolver) - Constructor for class org.apache.hivemind.impl.RegistryProviderAutoDetector
 
registryShutdown() - Static method in class org.apache.hivemind.HiveMindMessages
 
RegistryShutdownListener - Interface in org.apache.hivemind.events
Lifecycle interface that may be implemented by objects that need to know when the Registry has shutdown.
removeListener(Object) - Method in class org.apache.hivemind.util.EventListenerList
Removes a listener from the list.
removeRegistryShutdownListener(RegistryShutdownListener) - Method in class org.apache.hivemind.impl.ShutdownCoordinatorImpl
 
removeRegistryShutdownListener(RegistryShutdownListener) - Method in interface org.apache.hivemind.ShutdownCoordinator
 
removeThreadCleanupListener(ThreadCleanupListener) - Method in class org.apache.hivemind.service.impl.ThreadEventNotifierImpl
 
removeThreadCleanupListener(ThreadCleanupListener) - Method in interface org.apache.hivemind.service.ThreadEventNotifier
Removes the listener, if it has been previously added.
replace(String, String, String) - Static method in class org.apache.hivemind.util.StringUtils
Replaces all occurrences of pattern in string with replacement
replayControls() - Method in class org.apache.hivemind.test.HiveMindTestCase
Invokes MockControl.replay() on all controls created by HiveMindTestCase.newControl(Class).
REQUIRED - Static variable in class org.apache.hivemind.definition.Occurances
Exactly one is required.
resetControls() - Method in class org.apache.hivemind.test.HiveMindTestCase
Invokes MockControl.reset() on all controls.
resolve(String, Locale) - Method in class org.apache.hivemind.util.LocalizedContextResourceFinder
Resolves the resource, returning a path representing the closest match (with respect to the provided locale).
resolve(String, Locale) - Method in class org.apache.hivemind.util.LocalizedResourceFinder
Resolves the resource, returning a path representing the closest match (with respect to the provided locale).
resolveExtensions() - Method in class org.apache.hivemind.impl.ExtensionResolver
Resolves all unresolved extensions in the registry definition passed in the constructor.
resolveType(String) - Method in class org.apache.hivemind.impl.ModuleImpl
 
resolveType(String) - Method in interface org.apache.hivemind.internal.Module
Returns the class matching the type.
Resource - Interface in org.apache.hivemind
Describes the location of a resource, such as a module deployment descriptor, or a messages file.
run() - Method in class org.apache.hivemind.impl.StartupImpl
 
run() - Method in class org.apache.hivemind.service.impl.EagerLoader
 

S

SERVICE_ACCESSOR_METHOD_NAME - Static variable in class org.apache.hivemind.impl.ProxyUtils
 
SERVICE_ACCESSOR_METHOD_NAME - Static variable in class org.apache.hivemind.impl.servicemodel.PooledServiceModel
Name of a method in the deferred proxy that is used to obtain the constructed service.
SERVICE_ACCESSOR_METHOD_NAME - Static variable in class org.apache.hivemind.impl.servicemodel.SingletonServiceModel
Name of a method in the deferred proxy that is used to obtain the constructed service.
SERVICE_ACCESSOR_METHOD_NAME - Static variable in class org.apache.hivemind.impl.servicemodel.ThreadedServiceModel
Name of a method in the deferred proxy that is used to obtain the constructed service.
ServiceModel - Interface in org.apache.hivemind.internal
A service model is associated with a ServicePoint to supply rules for the lifecycle of the service.
ServiceModelContribution - Class in org.apache.hivemind.impl
Defines a name and a service model factory.
ServiceModelContribution() - Constructor for class org.apache.hivemind.impl.ServiceModelContribution
 
ServiceModelContribution(String, ServiceModelFactory) - Constructor for class org.apache.hivemind.impl.ServiceModelContribution
 
ServiceModelFactory - Interface in org.apache.hivemind.internal
 
ServicePoint - Interface in org.apache.hivemind.internal
Sub-interface of ExtensionPoint that defines a service extension point.
ServicePointDefinition - Interface in org.apache.hivemind.definition
Defines a service extension point.
ServicePointDefinitionImpl - Class in org.apache.hivemind.definition.impl
Default implementation of ServicePointDefinition.
ServicePointDefinitionImpl(ModuleDefinition) - Constructor for class org.apache.hivemind.definition.impl.ServicePointDefinitionImpl
 
ServicePointDefinitionImpl(ModuleDefinition, String, Location, Visibility, String) - Constructor for class org.apache.hivemind.definition.impl.ServicePointDefinitionImpl
 
ServicePointImpl - Class in org.apache.hivemind.impl
Abstract implementation of ServicePoint.
ServicePointImpl(Module, ServicePointDefinition) - Constructor for class org.apache.hivemind.impl.ServicePointImpl
 
servicePointNotVisible(ServicePointDefinition, ModuleDefinition) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 
ServiceSerializationHelper - Class in org.apache.hivemind.internal.ser
Class used to hold a global instance of ServiceSerializationSupport, so that ServiceTokens may locate them.
ServiceSerializationHelper() - Constructor for class org.apache.hivemind.internal.ser.ServiceSerializationHelper
 
ServiceSerializationSupport - Interface in org.apache.hivemind.internal.ser
Utility interface used to support serialization of services (really, service proxies).
ServiceToken - Class in org.apache.hivemind.internal.ser
Instance used to replace actual service (proxies) during serialization.
ServiceToken() - Constructor for class org.apache.hivemind.internal.ser.ServiceToken
 
ServiceToken(String) - Constructor for class org.apache.hivemind.internal.ser.ServiceToken
 
setClassFactory(ClassFactory) - Method in class org.apache.hivemind.service.impl.InterfaceSynthesizerImpl
 
setClassResolver(ClassResolver) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Sets the ClassResolver used to resolve all classes referenced from elements inside the module.
setClassResolver(ClassResolver) - Method in class org.apache.hivemind.impl.ModuleImpl
 
setConfigurationData(Object) - Method in interface org.apache.hivemind.definition.ContributionContext
Replaces all configuration data with data.
setConfigurationTypeName(String) - Method in class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
Set the class name of the configuration.
setContribution(Contribution) - Method in class org.apache.hivemind.definition.impl.ContributionDefinitionImpl
Sets the contribution implementation.
setDefault(boolean) - Method in class org.apache.hivemind.definition.impl.ImplementationDefinitionImpl
Sets the default attribute of the implementation.
setDefaultMode(int) - Static method in class org.apache.hivemind.util.ToStringBuilder
 
setEventSetName(String) - Method in class org.apache.hivemind.service.impl.EventRegistration
 
setExpectedContributions(Occurances) - Method in class org.apache.hivemind.definition.impl.ConfigurationPointDefinitionImpl
Sets the expected number of contributions to the configuration.
setFactory(ServiceModelFactory) - Method in class org.apache.hivemind.impl.ServiceModelContribution
 
setFollowingNames(String) - Method in class org.apache.hivemind.service.impl.AutowiringStrategyContribution
 
setId(String) - Method in class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
Sets the id of the extension point.
setId(String) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Sets the id of the module.
setImplementationConstructor(ImplementationConstructor) - Method in class org.apache.hivemind.definition.impl.ImplementationDefinitionImpl
Sets the constructor implementation that is used for the creation of the implementation instance.
setInclude(boolean) - Method in class org.apache.hivemind.service.MethodContribution
 
setInstanceClassName(String) - Method in class org.apache.hivemind.impl.CreateClassServiceConstructor
 
setInterceptorConstructor(InterceptorConstructor) - Method in class org.apache.hivemind.definition.impl.InterceptorDefinitionImpl
Sets the constructor implementation responsible for the creation of interceptor instances.
setInterfaceClassName(String) - Method in class org.apache.hivemind.definition.impl.ServicePointDefinitionImpl
Sets the class name of the service interface.
setLocale(Locale) - Method in class org.apache.hivemind.service.impl.ThreadLocaleImpl
 
setLocale(Locale) - Method in interface org.apache.hivemind.service.ThreadLocale
Changes the locale from the default.
setLocation(Location) - Method in class org.apache.hivemind.definition.impl.ExtensionDefinitionImpl
Sets the location of the extension.
setLocation(Location) - Method in class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
Sets the location of the extension point.
setLocation(Location) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Sets the location of the module.
setLocation(Object, Location) - Static method in class org.apache.hivemind.HiveMind
Updates the location of an object, if the object implements LocationHolder.
setLocation(Location) - Method in class org.apache.hivemind.impl.BaseLocatable
 
setLocation(Location) - Method in interface org.apache.hivemind.LocationHolder
 
setMethodPattern(String) - Method in class org.apache.hivemind.service.MethodContribution
 
setModuleId(String) - Method in class org.apache.hivemind.impl.ModuleImpl
 
setName(String) - Method in class org.apache.hivemind.definition.impl.InterceptorDefinitionImpl
Sets the name of the interceptor.
setName(String) - Method in class org.apache.hivemind.impl.ServiceModelContribution
 
setName(String) - Method in class org.apache.hivemind.service.impl.AutowiringStrategyContribution
 
setPackageName(String) - Method in class org.apache.hivemind.definition.impl.ModuleDefinitionImpl
Sets the package name of the module.
setPackageName(String) - Method in class org.apache.hivemind.impl.ModuleImpl
 
setPrecedingNames(String) - Method in class org.apache.hivemind.service.impl.AutowiringStrategyContribution
 
setProducer(Object) - Method in class org.apache.hivemind.service.impl.EventRegistration
 
setRegistry(RegistryInfrastructure) - Method in class org.apache.hivemind.impl.ModuleImpl
 
setReturnValue(Object, Object) - Method in class org.apache.hivemind.test.HiveMindTestCase
Invoked when training a mock object to set the return value for the most recently invoked method.
setReturnValue(Object, long) - Method in class org.apache.hivemind.test.HiveMindTestCase
Invoked when training a mock object to set the return value for the most recently invoked method.
setReturnValue(Object, float) - Method in class org.apache.hivemind.test.HiveMindTestCase
Invoked when training a mock object to set the return value for the most recently invoked method.
setReturnValue(Object, double) - Method in class org.apache.hivemind.test.HiveMindTestCase
Invoked when training a mock object to set the return value for the most recently invoked method.
setReturnValue(Object, boolean) - Method in class org.apache.hivemind.test.HiveMindTestCase
Invoked when training a mock object to set the return value for the most recently invoked method.
setRunnables(List) - Method in class org.apache.hivemind.impl.StartupImpl
 
setServiceModel(String) - Method in class org.apache.hivemind.definition.impl.ImplementationDefinitionImpl
Sets the service model of the implementation.
setServicePoints(List) - Method in class org.apache.hivemind.service.impl.EagerLoader
 
setServiceSerializationSupport(ServiceSerializationSupport) - Static method in class org.apache.hivemind.internal.ser.ServiceSerializationHelper
Stores the SSS instance for later access; if an existing SSS is already stored, then an error is logged (should be just one SSS per class loader).
setShutdownCoordinator(ShutdownCoordinator) - Method in class org.apache.hivemind.impl.ConfigurationPointImpl
 
setShutdownCoordinator(ShutdownCoordinator) - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
setShutdownCoordinator(ShutdownCoordinator) - Method in class org.apache.hivemind.impl.ServicePointImpl
 
setStrategy(AutowiringStrategy) - Method in class org.apache.hivemind.service.impl.AutowiringStrategyContribution
 
setThrowable(Object, Throwable) - Method in class org.apache.hivemind.test.HiveMindTestCase
Invoked when training a mock object to set the Throwable for the most recently invoked method.
setupThread() - Method in class org.apache.hivemind.impl.RegistryImpl
 
setupThread() - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
Sets the current RI up as the ServiceSerializationSupport.
setupThread() - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
To be invoked at the start of each request in a multi-threaded environment.
setupThread() - Method in interface org.apache.hivemind.Registry
To be invoked at the start of each request in a multi-threaded environment.
setVisibility(Visibility) - Method in class org.apache.hivemind.definition.impl.ExtensionPointDefinitionImpl
Sets the visibility of the extension point.
shutdown() - Method in class org.apache.hivemind.impl.RegistryImpl
 
shutdown() - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
Invokes ShutdownCoordinator.shutdown(), then releases the coordinator, modules and variable sources.
shutdown() - Method in class org.apache.hivemind.impl.ShutdownCoordinatorImpl
 
shutdown() - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Shuts down the registry; this notifies all RegistryShutdownListener services and objects.
shutdown() - Method in interface org.apache.hivemind.Registry
Shuts down the registry; this notifies all RegistryShutdownListener services and objects.
shutdown() - Method in interface org.apache.hivemind.ShutdownCoordinator
 
ShutdownCoordinator - Interface in org.apache.hivemind
The coordinator is used by other services to determine when the registry was shutdown.
ShutdownCoordinatorImpl - Class in org.apache.hivemind.impl
Manages a list of objects that implement the RegistryShutdownListener interface.
ShutdownCoordinatorImpl() - Constructor for class org.apache.hivemind.impl.ShutdownCoordinatorImpl
 
SINGLETON - Static variable in interface org.apache.hivemind.internal.ServiceModel
 
SingletonInnerProxy - Interface in org.apache.hivemind.impl.servicemodel
Interface implemented by the inner proxies used with the SingletonServiceModel.
SingletonServiceModel - Class in org.apache.hivemind.impl.servicemodel
Subclass of AbstractServiceModelImpl which supports creation of a singleton service proxy (deferring the actual construction of the service until absolutely necessary).
SingletonServiceModel(ConstructableServicePoint) - Constructor for class org.apache.hivemind.impl.servicemodel.SingletonServiceModel
 
SingletonServiceModelFactory - Class in org.apache.hivemind.impl.servicemodel
 
SingletonServiceModelFactory() - Constructor for class org.apache.hivemind.impl.servicemodel.SingletonServiceModelFactory
 
smartWrite(Object, String) - Method in class org.apache.hivemind.util.PropertyAdaptor
 
smartWrite(Object, String, String) - Static method in class org.apache.hivemind.util.PropertyUtils
An improved version of PropertyUtils.write(Object, String, Object) where the value starts as a string and is converted to the correct property type before being assigned.
split(String) - Static method in class org.apache.hivemind.util.StringUtils
Splits an input string into a an array of strings, seperating at commas.
startup() - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
Starts up the Registry after all service and configuration points have been defined.
startup() - Method in interface org.apache.hivemind.internal.RegistryInfrastructure
Invoked once, just after the registry infrastructure is constructed.
StartupImpl - Class in org.apache.hivemind.impl
Startup service for the HiveMind Registry.
StartupImpl() - Constructor for class org.apache.hivemind.impl.StartupImpl
 
StrictErrorHandler - Class in org.apache.hivemind.impl
An implementation of ErrorHandler that throws an ApplicationRuntimeException instead of logging an error.
StrictErrorHandler() - Constructor for class org.apache.hivemind.impl.StrictErrorHandler
 
StringUtils - Class in org.apache.hivemind.util
A subset of the utilities available in commons-lang StringUtils.
StringUtils() - Constructor for class org.apache.hivemind.util.StringUtils
 
stripModule(String) - Static method in class org.apache.hivemind.util.IdUtils
Removes the module name from a fully qualified id
synthesizeInterface(Class) - Method in class org.apache.hivemind.service.impl.InterfaceSynthesizerImpl
 
synthesizeInterface(Class) - Method in interface org.apache.hivemind.service.InterfaceSynthesizer
 

T

tearDown() - Method in class org.apache.hivemind.test.HiveMindTestCase
Removes the appender that may have been setup by HiveMindTestCase.interceptLogging(String).
THREAD_EVENT_NOTIFIER_SERVICE - Static variable in class org.apache.hivemind.HiveMind
The full id of the ThreadEventNotifier service.
THREAD_LOCALE_SERVICE - Static variable in class org.apache.hivemind.HiveMind
The full id of the ThreadLocale service.
ThreadCleanupListener - Interface in org.apache.hivemind.service
Listener interface implemented by classes which need to know when a thread cleanup occurs.
threadDidCleanup() - Method in interface org.apache.hivemind.service.ThreadCleanupListener
 
threadDidDiscardService() - Method in interface org.apache.hivemind.Discardable
Invoked when a service is being discarded.
THREADED - Static variable in interface org.apache.hivemind.internal.ServiceModel
 
ThreadedServiceModel - Class in org.apache.hivemind.impl.servicemodel
Like SingletonServiceModel, this method returns a proxy (implementing the service interface); unlike SingletonServiceModel, it always returns the proxy.
ThreadedServiceModel(ConstructableServicePoint) - Constructor for class org.apache.hivemind.impl.servicemodel.ThreadedServiceModel
 
ThreadedServiceModelFactory - Class in org.apache.hivemind.impl.servicemodel
 
ThreadedServiceModelFactory() - Constructor for class org.apache.hivemind.impl.servicemodel.ThreadedServiceModelFactory
 
ThreadEventNotifier - Interface in org.apache.hivemind.service
Service which acts as a dispatch hub for events about the lifecycle of the current thread.
ThreadEventNotifierImpl - Class in org.apache.hivemind.service.impl
Implementation of ThreadEventNotifier, available as service hivemind.ThreadEventNotifier.
ThreadEventNotifierImpl() - Constructor for class org.apache.hivemind.service.impl.ThreadEventNotifierImpl
 
ThreadEventNotifierImpl(Log) - Constructor for class org.apache.hivemind.service.impl.ThreadEventNotifierImpl
 
ThreadLocale - Interface in org.apache.hivemind.service
The hivemind.ThreadLocale service is intrinsic to HiveMind; its a threaded service for storing the locale for the current thread (it uses the threaded service).
ThreadLocaleImpl - Class in org.apache.hivemind.service.impl
 
ThreadLocaleImpl(Locale) - Constructor for class org.apache.hivemind.service.impl.ThreadLocaleImpl
 
ThreadLocalStorage - Interface in org.apache.hivemind.service
Provides a service which can temporarily store thread-local data.
ThreadLocalStorageImpl - Class in org.apache.hivemind.service.impl
Implementation of ThreadLocalStorage.
ThreadLocalStorageImpl() - Constructor for class org.apache.hivemind.service.impl.ThreadLocalStorageImpl
 
toClass(CtClass) - Method in class org.apache.hivemind.service.impl.HiveMindClassPool
Invoked to convert an fabricated class into a real class.
toString() - Method in exception org.apache.hivemind.ApplicationRuntimeException
Overrides the default implementation of toString, suffixing the normal result with the location of the exception (if non null).
toString() - Method in class org.apache.hivemind.definition.Occurances
 
toString() - Method in class org.apache.hivemind.definition.Visibility
 
toString() - Method in class org.apache.hivemind.impl.AbstractExtensionPoint
 
toString() - Method in class org.apache.hivemind.impl.InterceptorStackImpl
 
toString() - Method in class org.apache.hivemind.impl.LocationImpl
 
toString() - Method in class org.apache.hivemind.impl.ModuleImpl
 
toString() - Method in class org.apache.hivemind.impl.RegistryInfrastructureImpl
 
toString() - Method in class org.apache.hivemind.service.BodyBuilder
Returns the current contents of the buffer.
toString() - Method in class org.apache.hivemind.service.impl.ClassFabImpl
Returns a representation of the fabricated class, including inheritance, fields, constructors, methods and method bodies.
toString() - Method in class org.apache.hivemind.service.impl.InterfaceFabImpl
 
toString() - Method in class org.apache.hivemind.service.MethodContribution
 
toString() - Method in class org.apache.hivemind.service.MethodSignature
 
toString() - Method in class org.apache.hivemind.util.ClasspathResource
 
toString() - Method in class org.apache.hivemind.util.ContextResource
 
toString() - Method in class org.apache.hivemind.util.FileResource
 
toString() - Method in class org.apache.hivemind.util.ToStringBuilder
Returns the final assembled string.
toString() - Method in class org.apache.hivemind.util.URLResource
 
ToStringBuilder - Class in org.apache.hivemind.util
A simple replacement for the more involved version in commons-lang; this is used to help construct the description string returned by an object's toString() method.
ToStringBuilder(Object) - Constructor for class org.apache.hivemind.util.ToStringBuilder
 
ToStringBuilder(Object, int) - Constructor for class org.apache.hivemind.util.ToStringBuilder
 
TypeMatcher - Class in org.apache.hivemind.test
An ArgumentMatcher that only compares the types of the two objects, not their actual values.
TypeMatcher() - Constructor for class org.apache.hivemind.test.TypeMatcher
 

U

UNBOUNDED - Static variable in class org.apache.hivemind.definition.Occurances
An unbounded number, zero or more.
unimplementedMethod(Object, String) - Static method in class org.apache.hivemind.HiveMindMessages
 
UniqueHashMap - Class in org.apache.hivemind.util
Specialized map that guarantees uniqueness of key values.
UniqueHashMap() - Constructor for class org.apache.hivemind.util.UniqueHashMap
 
unknownConfigurationPoint(String, String) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 
unknownLocation() - Static method in class org.apache.hivemind.HiveMindMessages
 
unknownServicePoint(String, String) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 
unreachable() - Static method in class org.apache.hivemind.test.HiveMindTestCase
Called when code should not be reachable (because a test is expected to throw an exception); throws AssertionFailedError always.
UnresolvedExtension - Class in org.apache.hivemind.definition
Represents an unresolved extension of an extension point in a registry definition.
UnresolvedExtension(ExtensionDefinition, String) - Constructor for class org.apache.hivemind.definition.UnresolvedExtension
 
URLResource - Class in org.apache.hivemind.util
An implementation of Resource built around a string representation of a URL.
URLResource(URL) - Constructor for class org.apache.hivemind.util.URLResource
 
URLResource(String) - Constructor for class org.apache.hivemind.util.URLResource
 

V

verifyControls() - Method in class org.apache.hivemind.test.HiveMindTestCase
Invokes MockControl.verify() and MockControl.reset() on all controls created by HiveMindTestCase.newControl(Class).
Visibility - Class in org.apache.hivemind.definition
The visibility of a configuration point, extension point, or schema.
visibleToModule(Module) - Method in class org.apache.hivemind.impl.AbstractExtensionPoint
Returns true if the extension point is public, or the extgension point is visible to the module.
visibleToModule(Module) - Method in interface org.apache.hivemind.internal.ExtensionPoint
Returns true if the extension point is visible to the specified module.
voidExit(Log, String) - Static method in class org.apache.hivemind.service.impl.LoggingUtils
 

W

write(Object, Object) - Method in class org.apache.hivemind.util.PropertyAdaptor
Updates the property of the target object.
write(Object, String, Object) - Static method in class org.apache.hivemind.util.PropertyUtils
Updates the property of the target object.
writeExternal(ObjectOutput) - Method in class org.apache.hivemind.internal.ser.ServiceToken
 
wrongNumberOfContributions(ModuleDefinition, ConfigurationPointDefinition, int, Occurances) - Static method in class org.apache.hivemind.definition.DefinitionMessages
 

_

_appender - Variable in class org.apache.hivemind.test.HiveMindTestCase
 
_formatter - Static variable in class org.apache.hivemind.HiveMindMessages
 
_instantiateServiceImplementation() - Method in interface org.apache.hivemind.impl.servicemodel.SingletonInnerProxy
 
_interceptedLoggerName - Variable in class org.apache.hivemind.test.HiveMindTestCase
 
_log - Variable in class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
This log is created from the log's service id, which is the appropriate place to log any messages related to creating (or managing) the service implementation, proxy, etc.

A B C D E F G H I J L M N O P Q R S T U V W _

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