| Home >> All >> org >> apache >> hivemind >> [ impl Javadoc ] |
| | org.apache.hivemind.impl.servicemodel.* (16) |
org.apache.hivemind.impl: Javadoc index of package org.apache.hivemind.impl.
Package Samples:
org.apache.hivemind.impl.servicemodel: Implementations of interfaces defined in the org.apache.commons.hivemind package.
Classes:
RegistryBuilder: Class used to build a org.apache.hivemind.Registry from individual org.apache.hivemind.parse.ModuleDescriptor . The descriptors are provided by the org.apache.hivemind.ModuleDescriptorProvider parameter passed to constructRegistry(Locale) 55 method. A note about threadsafety: The assumption is that a single thread will access the RegistryBuilder at one time (typically, a startup class within some form of server or application). Code here and in many of the related classes is divided into construction-time logic and runtime logic. Runtime logic is synchronized and threadsafe. Construction-time logic ...
StartupImpl: Startup service for the HiveMind Registry. This service is invoked as the last step 55 of the registry construction 55 . All contributions (java.lang.Runnable objects) to the hivemind.Startup configuration point are executed serially in an arbitrary order. Note that the contributions are not executed in separate Threads. HiveMind contributes the hivemind.EagerLoad (see org.apache.hivemind.service.impl.EagerLoader ) service to the hivemind.Startup configuration.
RegistryInfrastructureConstructor: Fed a series of org.apache.hivemind.parse.ModuleDescriptor s, this class will assemble them into a final org.apache.hivemind.internal.RegistryInfrastructure as well as perform some validations. This class was extracted from RegistryBuilder .
TranslatorContribution: A contribution to the hivemind.Translators configuration point. The configuration point defines the available translators that may be used in XML conversion rules ... however, a number of "bootstrap" translator (such as class - org.apache.hivemind.schema.rules.ClassTranslator ) are hardcoded (and doesn't appear in the configuration point).
AbstractMessages: Abstract base class for implementations of org.apache.hivemind.Messages . Subclasses must provide getLocale() 55 and findMessage(String) 55 implementations.
SchemaProcessorImpl: Used to assemble all the org.apache.hivemind.internal.Contribution s contributed to an org.apache.hivemind.internal.ConfigurationPoint while converting the XML (represented as org.apache.hivemind.Element s into Java objects.
ThreadedServiceModel: Like SingletonServiceModel , this method returns a proxy (implementing the service interface); unlike SingletonServiceModel, it always returns the proxy. Invoking a service method on the proxy constructs a service implementation and binds it to the current thread.
XmlModuleDescriptorProvider: Implementation of the org.apache.hivemind.ModuleDescriptorProvider interface which uses the org.apache.hivemind.parse.DescriptorParser to provide module descriptors defined in XML. The module descriptors are loaded from files or resources on the classpath.
ModuleMessages: An implementation of org.apache.hivemind.Messages that obtains messages from a org.apache.hivemind.internal.MessageFinder , in a locale provided by the org.apache.hivemind.service.ThreadLocale service.
SingletonServiceModel: Subclass of AbstractServiceModelImpl which supports creation of a singleton service proxy (deferring the actual construction of the service until absolutely necessary). This is used with the singleton service type, which is the default.
ElementsProxyList: The List implementation visible to the client code. It defers to another inner implementation of List; initially this is a ElementsInnerProxyList , but the inner proxy replaces itself with a real List implementation containing the actual configuration elements.
ElementsProxyMap: The Map implementation visible to the client code. It defers to another inner implementation of Map; initially this is a ElementsInnerProxyMap , but the inner proxy replaces itself with a real Map implementation containing the actual configuration elements.
ServicePointImpl: Abstract implementation of org.apache.hivemind.internal.ServicePoint . Provides some of the machinery for creating new service instances, delegating most of it to the org.apache.hivemind.internal.ServiceModel instace for the service.
SingletonInnerProxy: Interface implemented by the inner proxies used with the SingletonServiceModel . This allows the service model to force the inner proxy to resolve the service implementation and install it into the outer proxy.
ConstructableServicePoint: "Private" interface used by a org.apache.hivemind.internal.ServiceModel s to access non-public information about a org.apache.hivemind.internal.ServicePoint , such as its instance builder and interceptors.
DefaultClassResolver: Default implementation of org.apache.hivemind.ClassResolver based around Thread.getContextClassLoader() > Thread.getContextClassLoader() 55 (which is set by the servlet container).
TestRegistryInfrastructure: Additional tests for RegistryInfrastructureImpl . Much of the existing testing is, alas, integration (not unit) testing. Gradually hope to move more of that into this class.
ServiceImplementationFactoryParametersImpl: Wrapper around a org.apache.hivemind.internal.ServicePoint and a List of parameters, passed to a org.apache.hivemind.ServiceImplementationFactory .
StrictErrorHandler: An implementation of org.apache.hivemind.ErrorHandler that throws an org.apache.hivemind.ApplicationRuntimeException instead of logging an error.
ConfigurationPointImpl: Implementation of the org.apache.hivemind.internal.ConfigurationPoint interface; a container for org.apache.hivemind.internal.Contribution s.
ElementsInnerProxyList: Implements a java.util.List as a proxy to an actual list of elements, provided by an extension point. The proxy is unmodifiable and will work with the extension point to generate the real list of elements in a just-in-time manner.
SystemPropertiesSymbolSource: Implementation of org.apache.hivemind.SymbolSource that accesses System.getProperty(java.lang.String) > System.getProperty(java.lang.String) 55 .
ElementsInnerProxyMap: Implements a java.util.Map as a proxy to an actual map of elements, provided by an extension point. The proxy is unmodifiable and will work with the extension point to generate the real map of elements in a just-in-time manner.
SchemaElement: A wrapper around org.apache.hivemind.schema.ElementModel used by SchemaProcessorImpl .
RegistryImpl: Implementation of org.apache.hivemind.Registry that delegates to an instance of org.apache.hivemind.internal.RegistryInfrastructure .
| Home | Contact Us | Privacy Policy | Terms of Service |