- canAutowireConstructorParameter() - Method in class org.apache.hivemind.service.impl.BuilderClassResolverFacet
-
- canAutowireConstructorParameter() - Method in class org.apache.hivemind.service.impl.BuilderErrorHandlerFacet
-
- canAutowireConstructorParameter() - Method in class org.apache.hivemind.service.impl.BuilderErrorLogFacet
-
- canAutowireConstructorParameter() - Method in class org.apache.hivemind.service.impl.BuilderFacet
-
- canAutowireConstructorParameter() - Method in class org.apache.hivemind.service.impl.BuilderLogFacet
-
- canAutowireConstructorParameter() - Method in class org.apache.hivemind.service.impl.BuilderMessagesFacet
-
- canInstancesBeKeyed() - Method in class org.apache.hivemind.schema.impl.SchemaImpl
-
- canInstancesBeKeyed() - Method in interface org.apache.hivemind.schema.Schema
-
Returns true if Elements conforming to this Schema can be indexed using a key.
- capitalize(String) - Static method in class org.apache.hivemind.util.StringUtils
-
Converts a string such that the first character is upper case.
- characters(char[], int, int) - Method in class org.apache.hivemind.parse.AbstractParser
-
Accepts parseable character data from within an element and applies it to the top stack
element.
- checkForClass(String) - Method in interface org.apache.hivemind.ClassResolver
-
- 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
-
- 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
-
- ClassFactoryImpl() - Constructor for class org.apache.hivemind.service.impl.ClassFactoryImpl
-
- ClassNameEvaluator - Class in org.apache.hivemind.conditional
-
Evaluator for a fully qualified class name.
- ClassNameEvaluator(String) - Constructor for class org.apache.hivemind.conditional.ClassNameEvaluator
-
- ClassObjectProvider - Class in org.apache.hivemind.service.impl
-
Implementation of
ObjectProvider
that interprets the locator
as a class name and converts it to a Class object.
- ClassObjectProvider() - Constructor for class org.apache.hivemind.service.impl.ClassObjectProvider
-
- 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.
- ClassTranslator - Class in org.apache.hivemind.schema.rules
-
Translator that converts a class name into an instance of a class.
- ClassTranslator() - Constructor for class org.apache.hivemind.schema.rules.ClassTranslator
-
- 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
-
- cleanupThread() - Method in interface org.apache.hivemind.Registry
-
- 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
MethodFilter
s, 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.
- ConfigurationObjectProvider - Class in org.apache.hivemind.service.impl
-
Implementation of
ObjectProvider
mapped to prefix
"configuration:" for accessing configurations.
- ConfigurationObjectProvider() - Constructor for class org.apache.hivemind.service.impl.ConfigurationObjectProvider
-
- ConfigurationPoint - Interface in org.apache.hivemind.internal
-
An extension point that provides configuration data in the form of a list of elements.
- ConfigurationPointDescriptor - Class in org.apache.hivemind.parse
-
Descriptor for the <configuration-point> element, which defines a configuration extension
point.
- ConfigurationPointDescriptor() - Constructor for class org.apache.hivemind.parse.ConfigurationPointDescriptor
-
- ConfigurationPointImpl - Class in org.apache.hivemind.impl
-
- ConfigurationPointImpl() - Constructor for class org.apache.hivemind.impl.ConfigurationPointImpl
-
- ConfigurationTranslator - Class in org.apache.hivemind.schema.rules
-
Interprets a string as an extension point id, and provides the elements for that extension point.
- ConfigurationTranslator() - Constructor for class org.apache.hivemind.schema.rules.ConfigurationTranslator
-
- 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
ServiceModel
s 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.
- constructCoreServiceImplementation() - Method in class org.apache.hivemind.impl.CreateClassServiceConstructor
-
- constructCoreServiceImplementation() - Method in class org.apache.hivemind.impl.InvokeFactoryServiceConstructor
-
- constructCoreServiceImplementation() - Method in class org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl
-
Constructs the core service implementation (by invoking the
ServiceImplementationConstructor
), and checks that the result is non-null and
assignable to the service interface.
- constructCoreServiceImplementation() - Method in interface org.apache.hivemind.internal.ServiceImplementationConstructor
-
Creates a new core service implementation.
- 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.
- 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.
- ConstructRegistry - Class in org.apache.hivemind.ant
-
Reads some number of hivemodule deployment descriptors (specified as a fileset) and builds a
composite registry by simply concatinating them all.
- ConstructRegistry() - Constructor for class org.apache.hivemind.ant.ConstructRegistry
-
- constructRegistry(Locale) - Method in class org.apache.hivemind.impl.RegistryBuilder
-
This first loads all modules provided by the ModuleDescriptorProvider, then resolves all the
contributions, then constructs and returns the Registry.
- constructRegistry(FilterConfig) - Method in class org.apache.hivemind.servlet.HiveMindFilter
-
- constructRegistryInfrastructure(Locale) - Method in class org.apache.hivemind.impl.RegistryInfrastructureConstructor
-
- 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).
- 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.
- 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 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 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
-
- Contribution - Interface in org.apache.hivemind.internal
-
- ContributionDescriptor - Class in org.apache.hivemind.parse
-
Descriptor for <contribution> element.
- ContributionDescriptor() - Constructor for class org.apache.hivemind.parse.ContributionDescriptor
-
- ContributionImpl - Class in org.apache.hivemind.impl
-
Implements the
Contribution
interface, a wrapper
around objects that can provide values that plug into an extension point.
- ContributionImpl() - Constructor for class org.apache.hivemind.impl.ContributionImpl
-
- ConversionDescriptor - Class in org.apache.hivemind.parse
-
Descriptor for the <conversion> module descriptor element.
- ConversionDescriptor(ErrorHandler, ElementModel) - Constructor for class org.apache.hivemind.parse.ConversionDescriptor
-
- 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
-
- convertInitializer(String) - Static method in class org.apache.hivemind.schema.rules.RuleUtils
-
Used to convert a
Translator
initializer string of the
form:
key=value[,key=value]*
into a Map of
keys and values.
- 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
-
- createClasspath() - Method in class org.apache.hivemind.ant.ManifestClassPath
-
- CreateClassServiceConstructor - Class in org.apache.hivemind.impl
-
Constructs a service by instantiating a class.
- CreateClassServiceConstructor() - Constructor for class org.apache.hivemind.impl.CreateClassServiceConstructor
-
- createConstructor(ServicePoint, Module) - Method in class org.apache.hivemind.parse.CreateInstanceDescriptor
-
- createConstructor(ServicePoint, Module) - Method in interface org.apache.hivemind.parse.InstanceBuilder
-
- createConstructor(ServicePoint, Module) - Method in class org.apache.hivemind.parse.InvokeFactoryDescriptor
-
- createCoreServiceImplementation(ServiceImplementationFactoryParameters) - Method in class org.apache.hivemind.service.impl.BuilderFactory
-
- createCoreServiceImplementation(ServiceImplementationFactoryParameters) - Method in class org.apache.hivemind.service.impl.ThreadLocaleFactory
-
- createCoreServiceImplementation(ServiceImplementationFactoryParameters) - Method in interface org.apache.hivemind.ServiceImplementationFactory
-
Creates a core implementation object for a particular service extension point.
- createDefaultRegistryDocument() - Static method in class org.apache.hivemind.ant.RegistrySerializer
-
- createDelegatingProxy(String, ServiceModel, String, ServicePoint) - Static method in class org.apache.hivemind.impl.ProxyUtils
-
Creates a class that implements the service interface.
- createDescriptors() - Method in class org.apache.hivemind.ant.ConstructRegistry
-
- createInstance(Module, String, Location) - Static method in class org.apache.hivemind.util.InstanceCreationUtils
-
Creates an instance.
- CreateInstanceDescriptor - Class in org.apache.hivemind.parse
-
Descriptor for the <create-instance< element, used to create
a core service implementation from a class name.
- CreateInstanceDescriptor() - Constructor for class org.apache.hivemind.parse.CreateInstanceDescriptor
-
- createInterceptor(InterceptorStack) - Method in class org.apache.hivemind.impl.ServiceInterceptorContributionImpl
-
- createInterceptor(InterceptorStack) - Method in interface org.apache.hivemind.internal.ServiceInterceptorContribution
-
Invoked to actually create the interceptor and push it onto the stack.
- createInterceptor(InterceptorStack, Module, List) - Method in class org.apache.hivemind.service.impl.LoggingInterceptorFactory
-
Creates the interceptor.
- createInterceptor(InterceptorStack, Module, List) - Method in interface org.apache.hivemind.ServiceInterceptorFactory
-
Creates an interceptor and pushes it onto the interceptor stack.
- 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.
- CreateObjectRule - Class in org.apache.hivemind.schema.rules
-
Basic
Rule
for creating a new object.
- CreateObjectRule() - Constructor for class org.apache.hivemind.schema.rules.CreateObjectRule
-
- CreateObjectRule(String) - Constructor for class org.apache.hivemind.schema.rules.CreateObjectRule
-
- createOuterProxy(Object, ServicePoint) - Static method in class org.apache.hivemind.impl.ProxyUtils
-
Constructs an outer proxy (for the threaded or pooled service).
- createRegistryDocument() - Method in class org.apache.hivemind.ant.RegistrySerializer
-
- createRegistryShutdownException() - Static method in class org.apache.hivemind.HiveMind
-
- createService() - Method in class org.apache.hivemind.service.impl.BuilderFactoryLogic
-
- 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
-