org.apache.hivemind.service.impl |
Implementations of services provided by the hivemind module.
|
Java Source File Name | Type | Comment |
AbstractFab.java | Class | Common code for
org.apache.hivemind.service.impl.ClassFabImpl and
org.apache.hivemind.service.impl.InterfaceFabImpl .
author: Howard M. |
BeanInterface.java | Interface | author: Howard M. |
BeanSubInterface.java | Interface | author: Howard M. |
BuilderClassResolverFacet.java | Class | org.apache.hivemind.service.impl.BuilderFacet whose value is the
org.apache.hivemind.ClassResolver of the contributing module. |
BuilderErrorHandlerFacet.java | Class | Exposes the invoking module's
org.apache.hivemind.ErrorHandler to a service as a
constructor parameter or a property. |
BuilderErrorLogFacet.java | Class | Exposes the service's
org.apache.hivemind.internal.ExtensionPoint.getErrorLog error log as a constructor parameter or a property.
author: Howard M. |
BuilderFacet.java | Class | Represents one facet of constructing a service implementation instance. |
BuilderFactory.java | Class | Implementation of
org.apache.hivemind.ServiceImplementationFactory that can instantiate
an object and then configure its properties.
Some thought has been given to using bytecode generation to create properties for messages,
extension point id, and so forth. |
BuilderFactoryLogic.java | Class | Created by
org.apache.hivemind.service.impl.BuilderFactory for each service to be
created; encapsulates all the direct and indirect parameters used to construct a service. |
BuilderLogFacet.java | Class | Facet whose value is the Log instance for the service (which is based on the
service id, not the class name). |
BuilderMessagesFacet.java | Class | org.apache.hivemind.service.impl.BuilderFacet whose value is the
org.apache.hivemind.Messages for the module containing the service being constructed. |
BuilderParameter.java | Class | Parameter object used with
org.apache.hivemind.service.impl.BuilderFactory . |
BuilderPropertyFacet.java | Class | Implementation of
org.apache.hivemind.service.impl.BuilderFacet that stores a value. |
BuilderServiceIdFacet.java | Class | org.apache.hivemind.service.impl.BuilderFacet whose value is the service id of the
service being constructed. |
ClassFabImpl.java | Class | Implementation of
org.apache.hivemind.service.ClassFab . |
ClassFactoryClassLoader.java | Class | ClassLoader used to properly instantiate newly created classes. |
ClassFactoryImpl.java | Class | Implementation of
org.apache.hivemind.service.ClassFactory . |
ClassObjectProvider.java | Class | Implementation of
org.apache.hivemind.service.ObjectProvider that interprets the locator
as a class name and converts it to a Class object. |
ConfigurationObjectProvider.java | Class | Implementation of
org.apache.hivemind.service.ObjectProvider mapped to prefix
"configuration:" for accessing configurations. |
CtClassSource.java | Class | Wrapper around Javassist's
javassist.ClassPool and our own
org.apache.hivemind.service.impl.ClassFactoryClassLoader that manages the creation of new
instance of
javassist.CtClass and converts finished CtClass's into instantiable Classes. |
DefaultsSymbolSource.java | Class | Implementation of
org.apache.hivemind.SymbolSource driven off of an extension point. |
EagerLoader.java | Class | Implementation of the hivemind.EagerLoad service, which
is contributed into to hivemind.Startup configuration point. |
EventLinkerImpl.java | Class | Implementation of
org.apache.hivemind.service.EventLinker . |
EventRegistration.java | Class | An event registrtion for a service constructed by
org.apache.hivemind.service.impl.BuilderFactory . |
ExtendingInterfaceBean.java | Class | author: Howard M. |
ExtendingSubInterfaceBean.java | Class | author: Howard M. |
FactoryDefault.java | Class | Default symbol value defined by the
hivemind.FactoryDefaults extension point. |
HiveMindClassPool.java | Class | Used to ensure that
javassist.ClassPool.appendClassPath(javassist.ClassPath) is invoked
with a synchronized lock. |
IgnoreStaticAndPrivateMethodsBean.java | Class | author: Howard M. |
InitializerErrorRunnable.java | Class | author: Howard M. |
InterfaceFabImpl.java | Class | author: Howard M. |
InterfaceSynthesizerImpl.java | Class | author: Howard M. |
ListPropertyBean.java | Class | |
LoggingInterceptorFactory.java | Class | An interceptor factory that adds logging capability to a service.
The logging is based upon the Jakarta
commons-logging toolkit,
which makes
it very transportable.
The interceptor will log entry to each method and exit from the method
(with return value), plus log any exceptions thrown by the method.
The logger used is the id of the service, which is not necessarily
the name of the implementing class. |
LoggingUtils.java | Class | Collection of static methods used by loggers to
log method entry and exit. |
MethodFabImpl.java | Class | Implementation of
org.apache.hivemind.service.MethodFab , which is returned from
org.apache.hivemind.service.ClassFab.addMethod(intStringClassClass[]Class[]String) ,
so that additional exception handlers may be attached to the added method. |
Nasty.java | Interface | Used just for testing
org.apache.hivemind.service.impl.ClassFabImpl.toString .
author: Howard M. |
ObjectInstanceObjectProvider.java | Class | Implementation of
org.apache.hivemind.service.ObjectProvider that instantiates a new
instance of a class. |
ObjectTranslator.java | Class | Implementation of the indirect translator. |
ServiceMessages.java | Class | Messages for the service.impl package. |
ServiceObjectProvider.java | Class | An
org.apache.hivemind.service.ObjectProvider that provides access to services. |
ServicePropertyObjectProvider.java | Class | org.apache.hivemind.service.ObjectProvider implementation
that obtains a named property from a service. |
SimpleBean.java | Class | author: Howard M. |
TestBuilderFactory.java | Class | Additional tests for
org.apache.hivemind.service.impl.BuilderFactoryLogic .
author: Howard M. |
TestBuilderPropertyFacet.java | Class | |
TestClassFab.java | Class | Tests related to
org.apache.hivemind.service.impl.ClassFabImpl ,
org.apache.hivemind.service.impl.CtClassSource , etc. |
TestClassFabUtils.java | Class | |
TestInterfaceFab.java | Class | Tests for
org.apache.hivemind.service.impl.InterfaceFabImpl .
author: Howard M. |
TestInterfaceSynthesizer.java | Class | author: Howard M. |
TestLoggingInterceptorFactory.java | Class | Tests for
org.apache.hivemind.service.impl.LoggingInterceptorFactory . |
TestObjectProviders.java | Class | Tests for several implementations of
org.apache.hivemind.service.ObjectProvider . |
TestObjectTranslator.java | Class | Tests for
org.apache.hivemind.service.impl.ObjectTranslator . |
ThreadEventNotifierImpl.java | Class | Implementation of
org.apache.hivemind.service.ThreadEventNotifier , available as service
hivemind.ThreadEventNotifier . |
ThreadLocaleFactory.java | Class | Specialized factory used to create instances of
org.apache.hivemind.service.impl.ThreadLocaleImpl (i.e., service hivemind.ThreadLocale).
This is necessary because there isn't a way to inject the Registry's locale into a property. |
ThreadLocaleImpl.java | Class | author: Howard M. |
ThreadLocalStorageImpl.java | Class | Implementation of
org.apache.hivemind.service.ThreadLocalStorage . |