|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractMatcher
to HiveMind's
ArgumentMatcher
.ConstructionContext
.ClassFabImpl
and
InterfaceFabImpl
.Messages
.Resource
.ImplementationConstructor
.InterceptorConstructor
.ServiceModel
.BodyBuilder.add(String, Object[])
BodyBuilder.add(String, Object[])
BodyBuilder.add(String, Object[])
HiveMindTestCase.replayControls()
and
HiveMindTestCase.verifyControls()
.
BodyBuilder.addln(String, Object[])
BodyBuilder.addln(String, Object[])
.
BodyBuilder.addln(String, Object[])
.
RegistryDefinitionPostProcessor
.
RegistryInitializationListener
which is called after the
construction of the registry.
toString()
method to a class that returns a fixed, pre-computed value.
AutoloadingHiveMindFilter.constructRegistry(FilterConfig)
to add an web specific
application descriptor if one exists.
AggregateArgumentsMatcher
to provide matching logic
for a single argument.HiveMindTestCase.assertListsEqual(Object[], Object[])
.
RegistryProvider
s which are defined in Manifest-Files.
target
defined in propertyNames
.
target
.
target
defined in propertyNames
using a certain strategy.
target
using a certain strategy.
Autowiring
service.
AutowiringStrategy
that searches for
a matching service by the type of a property.Autowiring
.org.apache.hivemind.service.Autowiring
configuration extension point; used to provide
a AutowiringStrategy
implementation
and advice on ordering the service.LocationHolder
.customModules
, plus the master module descriptor
(i.e., those visible on the classpath).
hivemind
module.
ClassResolver.findClass(String)
, but simply returns null if the class does not exist (i.e.,
if ClassNotFoundException
is thrown).
ClassFab
.ClassFactory
.Resource
for resources found within the classpath.ThreadEventNotifier.fireThreadCleanup()
.
ThreadEventNotifier.fireThreadCleanup()
.
equals()
.
MethodFilter
s, returning
true only if each filter does.ConfigurationParser
.ConfigurationParserDefinition
.ConfigurationPointDefinition
.ConfigurationPoint
interface; a
container for Contribution
s.ServiceModel
s to access non-
information about a ServicePoint
, such as its instance
builder and interceptors.ImplementationConstructor
), and checks that the result is non-null and
assignable to the service interface.
extension
or extension point
.RegistryDefinition
.
RegistryDefinition
.
RegistryDefinition
.
AutoloadingHiveMindFilter.init(FilterConfig)
to actually construct the Registry.
RegistryDefinition
.
ServicePoint.getService(Class)
(for singletons), or from
the generated deferrable proxy (for most service models).
Resource
for resources found within the web
application context.configuration point
.Contribution
.ConfigurationPointDefinition
.ContributionDefinition
.ClassPool
and our own
ClassFactoryClassLoader
that manages the creation of new
instance of CtClass
and converts finished CtClass's into instantiable Classes.ClassResolver
based around
Thread.getContextClassLoader()
(which is set by the servlet container).Thread.getContextClassLoader()
.
ErrorHandler
that
simply logs error.Registry.shutdown()
.
Registry.cleanupThread()
(from a finally block).
hivemind.EagerLoad
service, which
is contributed into to hivemind.Startup
configuration point.ErrorHandler.error(org.apache.commons.logging.Log, String, Location, Throwable)
.
ErrorHandler
and
Log
for the most common case: reporting recoverable errors.EventLinker
.org.apache.hivemind.service.impl.BuilderFactory
.ExtensionDefinition
.ExtensionPointDefinition
.unresolved extensions
in all
modules of a RegistryDefinition
during
the construction of a registry by RegistryBuilder
.HiveMindTestCase.newLocation()
instead.
Resource
built around
File
.Class.forName(String, boolean, ClassLoader)
,
using the resolver's class loader.
Class.forName(java.lang.String, boolean, java.lang.ClassLoader)
.
Location
in an array of objects.
ThreadCleanupListener.threadDidCleanup()
on all listeners, and discards the
list of listeners.
MessageFormat.format(java.lang.String, java.lang.Object[])
.
Messages.format(String, Object[])
.
Messages.format(String, Object[])
.
Messages.format(String, Object[])
.
MethodMatcher.put(String, Object)
.
ClassLoader
that can see all the classes the resolver can access.
DefaultClassResolver
.
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.
ErrorHandler
for this Registry.
ErrorHandler
for this Registry.
ErrorLog
used to report any recoverable errors related
to the extension point.
LocalizedResourceFinder
.
LocalizedContextResourceFinder
and
ServletContext.getResource(java.lang.String)
.
Location
or
Locatable
.
location
from which
this object orginates, or null if not known.
HiveMind.getLocation(Object)
, then translate the result to a string value, or
"unknown location" if null.
Module
containing the extension point.
InterceptorConstructor
s,
ordered according to their dependencies.
Orderer.add(Object, String, String, String)
to order the
objects into an appropriate order based on the pre- and post-reqts provided.
inputFormat
.
Orderable.getFollowingNames()
, but the identified items will precede this item.
PropertyAdaptor
for the given target object and property name.
RegistryInfrastructure
.
Registry
that was stored as a request attribute inside method
AutoloadingHiveMindFilter.doFilter(ServletRequest, ServletResponse, FilterChain)
.
Resource
from the classpath.
ClassResolver.getResource(String)
with the path.
ServicePoint
(throwing an exception if not found) and invokes
ServicePoint.getService(Class)
.
ServicePoint.getServiceInterface()
.
ServiceToken
corresponding to the indicated serviceId.
public String toString()
is part of the interface.
ClassPool.appendClassPath(javassist.ClassPath)
is invoked
with a synchronized lock.implementation
.ImplementationConstructionContext
.service point
service point
.ImplementationDefinition
.Registry
and stores it into the ServletContext
.
Location
, and
possibly initializing its properties.PooledServiceModel.getServiceImplementationForCurrentThread()
to instantiate an instance of the
service.
PrimitiveServiceModel.getService()
to ensure that the core service implementation has been
instantiated.
ThreadedServiceModel.getServiceImplementationForCurrentThread()
to force the creation of the
service implementation.
service point
.service point
.InterceptorDefinition
.InterceptorStack
interface; localizes
error checking in one place.InterfaceSynthesizer
service.
ClassFab
used to create new interfaces.Introspector
(which is not fully
threadsafe).
HiveMind.isBlank(String)
, but inverts the response.
FileResource
to locate localizations of a given file.ClassResolver
.location
.Resource
from which the object was created.Location
interface.ResourceBundle
that makes it easier to access and format
messages.MessageFormatter.MessageFormatter(ResourceBundle)
instead.
MessageFormatter.MessageFormatter(Class, String)
instead.
MessageFormatter.MessageFormatter(String)
instead.
hivemind.MethodFilter
schema.MethodMatcher
to see if
a Method
matches a particular (set of) requirements.MethodSignature
against a
method pattern (this is primarily used by interceptor factories
).MethodMatcher.get(MethodSignature)
.
MethodFilter
.Method
, identifying the name, return type,
parameter types and exception types.RegistryDefinition
.ExtensionDefinition
.Module
.Messages
that obtains messages from a
MessageFinder
, in a locale provided by the
ThreadLocale
service.ClassFab
object for the given name; the new class is a subclass of the
indicated class.
MockControl.createStrictControl(java.lang.Class)
.
InterfaceFab
object with the given name.
Location
instance.
HiveMindTestCase.newControl(Class)
and then invoking
MockControl.getMock()
on the result.
MethodSignature
, returning null when all are
exhausted.
InterceptorDefinitionImpl
that implements the Orderable
interface.org.apache.hivemind.order.Orderer
as the Log.
hivemind
module.hivemind
module.Resource
and related utilities.threaded service model
,
except that, once created, services are pooled for later use.ServiceModel
for the primitive services
(that do not include the standard deferred instantiation proxy).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.RegistryShutdownListener
, then the object is added as a
listener.
Registry
from a RegistryDefinition
.RegistryDefinition
which can be
requested by RegistryBuilder.getRegistryDefinition()
.
RegistryDefinition
.
RegistryDefinition
.Registry
that delegates to an instance of
RegistryInfrastructure
.Registry
provided by some internals of HiveMind to
faciliate the creation of services and configurations.RegistryDefinition
s, this class will assemble
them into a final RegistryInfrastructure
as well as perform
some validations.RegistryInfrastructure
.Registry
has been fully initialized and that need a reference to the RegistryInfrastructure
interface.RegistryDefinition
.RegistryProvider
implementations
that are defined in manifest files.Registry
has shutdown.pattern
in
string
with replacement
MockControl.replay()
on all controls created by HiveMindTestCase.newControl(Class)
.
MockControl.reset()
on all controls.
ServicePoint
to supply
rules for the lifecycle of the service.ExtensionPoint
that defines a service
extension point.ServicePointDefinition
.ServicePoint
.ServiceSerializationSupport
, so that
ServiceToken
s may locate them.ClassResolver
used to resolve all classes referenced from elements
inside the module.
data
.
LocationHolder
.
ShutdownCoordinator.shutdown()
, then releases the coordinator, modules and
variable sources.
RegistryShutdownListener
services and objects.
RegistryShutdownListener
services and objects.
RegistryShutdownListener
interface.SingletonServiceModel
.AbstractServiceModelImpl
which supports
creation of a singleton service proxy (deferring the actual construction of the service until
absolutely necessary).PropertyUtils.write(Object, String, Object)
where the value starts as a
string and is converted to the correct property type before being assigned.
ErrorHandler
that
throws an ApplicationRuntimeException
instead of logging an error.HiveMindTestCase.interceptLogging(String)
.
ThreadEventNotifier
service.
ThreadLocale
service.
SingletonServiceModel
, this method returns a
proxy (implementing the service interface); unlike SingletonServiceModel, it always
returns the proxy.ThreadEventNotifier
, available as service
hivemind.ThreadEventNotifier
.ThreadLocalStorage
.toString
, suffixing the normal result
with the location
of the exception (if non null).
toString()
method.ArgumentMatcher
that only compares the types of
the two objects, not their actual values.Resource
built around a string representation of a URL.MockControl.verify()
and MockControl.reset()
on all
controls created by HiveMindTestCase.newControl(Class)
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |