Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G H I L M N O P R S T U V _

A

ApplicationRuntimeException - exception org.apache.hivemind.ApplicationRuntimeException.
General wrapper for any exception (normal or runtime) that may occur during runtime processing for the application.
ApplicationRuntimeException(Throwable) - Constructor for class org.apache.hivemind.ApplicationRuntimeException
 
ApplicationRuntimeException(String) - Constructor for class org.apache.hivemind.ApplicationRuntimeException
 
ApplicationRuntimeException(String, Throwable) - Constructor for class org.apache.hivemind.ApplicationRuntimeException
 
ApplicationRuntimeException(String, Object, Location, Throwable) - Constructor for class org.apache.hivemind.ApplicationRuntimeException
 
ApplicationRuntimeException(String, Location, Throwable) - Constructor for class org.apache.hivemind.ApplicationRuntimeException
 
Attribute - interface org.apache.hivemind.Attribute.
An attribute that may be attached to a Element.
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.
addRegistryShutdownListener(RegistryShutdownListener) - Method in interface org.apache.hivemind.ShutdownCoordinator
 
attempt(String) - Method in class org.apache.hivemind.TestBeanService
 

B

BeanA - class org.apache.hivemind.BeanA.
 
BeanA() - Constructor for class org.apache.hivemind.BeanA
 
BeanB - class org.apache.hivemind.BeanB.
 
BeanB() - Constructor for class org.apache.hivemind.BeanB
 
beanB - Variable in class org.apache.hivemind.BeanA
 

C

ClassResolver - interface org.apache.hivemind.ClassResolver.
An object which is used to resolve classes and class-path resources.
checkForClass(String) - Method in interface org.apache.hivemind.ClassResolver
Like ClassResolver.findClass(String) 55 , but simply returns null if the class does not exist (i.e., if java.lang.ClassNotFoundException is thrown).
cleanupThread() - Method in interface org.apache.hivemind.Registry
Convienience for invoking ThreadEventNotifier.fireThreadCleanup()>ThreadEventNotifier.fireThreadCleanup() 55 .
containsConfiguration(String) - Method in interface org.apache.hivemind.Registry
Returns true if a configuration for the specified id exists.
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.
createCoreServiceImplementation(ServiceImplementationFactoryParameters) - Method in interface org.apache.hivemind.ServiceImplementationFactory
Creates a core implementation object for a particular service extension point.
createInterceptor(InterceptorStack, Module, List) - Method in interface org.apache.hivemind.ServiceInterceptorFactory
Creates an interceptor and pushes it onto the interceptor stack.
createRegistryShutdownException() - Static method in class org.apache.hivemind.HiveMind
 

D

Discardable - interface org.apache.hivemind.Discardable.
Implemented by a core service implementationsthat require notification when they are discarded.

E

Element - interface org.apache.hivemind.Element.
Simplified read-only thread safe DOM.
ErrorHandler - interface org.apache.hivemind.ErrorHandler.
Interface for handling recoverable errors.
ErrorLog - interface org.apache.hivemind.ErrorLog.
A wrapper around ErrorHandler and org.apache.commons.logging.Logfor the most common case: reporting recoverable errors.
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(Log, String, Location, Throwable) 55 .
expandSymbols(String, Location) - Method in interface org.apache.hivemind.Registry
Expands any substitution symbols in the input string, replacing each symbol with the symbols value (if known).

F

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.
findLocation(Object[]) - Static method in class org.apache.hivemind.HiveMind
Selects the first Location in an array of objects.
format(String, Object[]) - Method in interface org.apache.hivemind.Messages
Formats a string, using MessageFormat.format(java.lang.String, java.lang.Object[])>MessageFormat.format(java.lang.String, java.lang.Object[]) 55 .
format(String, Object) - Method in interface org.apache.hivemind.Messages
Convienience method for invoking Messages.format(String, Object[]) 55 .
format(String, Object, Object) - Method in interface org.apache.hivemind.Messages
Convienience method for invoking Messages.format(String, Object[]) 55 .
format(String, Object, Object, Object) - Method in interface org.apache.hivemind.Messages
Convienience method for invoking Messages.format(String, Object[]) 55 .

G

getAttributeValue(String) - Method in interface org.apache.hivemind.Element
Returns the value for an attribute, or null if the attribute is not specified.
getAttributes() - Method in interface org.apache.hivemind.Element
Returns an unmodifiable list of Attribute for this element.
getCause() - Method in class org.apache.hivemind.ApplicationRuntimeException
This method is for compatibility with JDK 1.4.
getClassLoader() - Method in interface org.apache.hivemind.ClassResolver
Returns a java.lang.ClassLoader that can see all the classes the resolver can access.
getColumnNumber() - Method in interface org.apache.hivemind.Location
The column number, or -1 if not known.
getComponent() - Method in class org.apache.hivemind.ApplicationRuntimeException
 
getConfiguration(String) - Method in interface org.apache.hivemind.Registry
Returns a configuration as a List of elements (as defined by the schema for the configuration point, or as Elements if no configuration point does not define a schema.
getConfigurationAsMap(String) - Method in interface org.apache.hivemind.Registry
Returns the elements of the given configuration point as an unmodifiable java.util.Map.
getContent() - Method in interface org.apache.hivemind.Element
Returns the content of the element.
getElementName() - Method in interface org.apache.hivemind.Element
Returns the name of the element, as in, the name of the tag for the element.
getElements() - Method in interface org.apache.hivemind.Element
Returns an unmodifiable list of Element directly contained by this element.
getErrorLog() - Method in interface org.apache.hivemind.ServiceImplementationFactoryParameters
An ErrorLog instance used for reporting recoverable errors related to the service (or the construction of the service).
getFirstParameter() - Method in interface org.apache.hivemind.ServiceImplementationFactoryParameters
Returns the first parameter passed to the factory (since most factories take exactly one parameter, this is the most common usage).
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.SymbolSourceContribution
 
getInvokingModule() - Method in interface org.apache.hivemind.ServiceImplementationFactoryParameters
The module containing the service constructor.
getLineNumber() - Method in interface org.apache.hivemind.Location
The line within the resource containing the location, or -1 if the line number is not known.
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.
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).
getLocation() - Method in class org.apache.hivemind.ApplicationRuntimeException
 
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 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) 55 , then translate the result to a string value, or "unknown location" if null.
getLog() - Method in interface org.apache.hivemind.ServiceImplementationFactoryParameters
The log used for any output related to the service (or the construction of the service).
getMessage(String) - Method in interface org.apache.hivemind.Messages
Searches for a localized string with the given key.
getModuleDescriptors(ErrorHandler) - Method in interface org.apache.hivemind.ModuleDescriptorProvider
Returns a List of module descriptors.
getModuleMessages(String) - Method in interface org.apache.hivemind.Registry
Returns the Messages object for the specified module.
getName() - Method in interface org.apache.hivemind.Attribute
Returns the name of the attribute.
getName() - Method in class org.apache.hivemind.Occurances
 
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.SymbolSourceContribution
 
getParameters() - Method in interface org.apache.hivemind.ServiceImplementationFactoryParameters
The parameters passed to the factory to guide the construction of the service.
getPath() - Method in interface org.apache.hivemind.Resource
Returns the path that represents the resource.
getPrecedingNames() - Method in interface org.apache.hivemind.Orderable
As Orderable.getFollowingNames() 55 , but the identified items will precede this item.
getPrecedingNames() - Method in class org.apache.hivemind.SymbolSourceContribution
 
getRelativeResource(String) - Method in interface org.apache.hivemind.Resource
Returns at a relative location to this resource.
getResource(String) - Method in interface org.apache.hivemind.ClassResolver
Forwarded, unchanged, to the class loader.
getResource() - Method in interface org.apache.hivemind.Location
The resource containing the location.
getResourceURL() - Method in interface org.apache.hivemind.Resource
Returns a URL for the resource.
getRootCause() - Method in class org.apache.hivemind.ApplicationRuntimeException
 
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.
getServiceExtensionPointId() - Method in interface org.apache.hivemind.InterceptorStack
Return the full id of the service extension point for which interceptors are being fabricated.
getServiceId() - Method in interface org.apache.hivemind.ServiceImplementationFactoryParameters
The fully qualified id of the service.
getServiceIds(Class) - Method in interface org.apache.hivemind.Registry
Returns a list of service ids for service points which implement the desired service interface.
getServiceInterface() - Method in interface org.apache.hivemind.InterceptorStack
Returns the interface for the service; the same as ServicePoint.getServiceInterface()>ServicePoint.getServiceInterface() 55 .
getServiceInterface() - Method in interface org.apache.hivemind.ServiceImplementationFactoryParameters
The interface defined for the service.
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.
getServiceModule() - Method in interface org.apache.hivemind.InterceptorStack
Returns the module which contains the service extension point.
getSource() - Method in class org.apache.hivemind.SymbolSourceContribution
 
getValue() - Method in interface org.apache.hivemind.Attribute
Returns the value of the attribute.

H

HiveMind - class org.apache.hivemind.HiveMind.
Static utility class for HiveMind.
HiveMind() - Constructor for class org.apache.hivemind.HiveMind
 
HiveMindMessages - class org.apache.hivemind.HiveMindMessages.
Used to format general-purpose messages used in code within HiveMind.
HiveMindMessages() - Constructor for class org.apache.hivemind.HiveMindMessages
 

I

INTERFACE_SYNTHESIZER_SERVICE - Static variable in class org.apache.hivemind.HiveMind
The full id of the org.apache.hivemind.service.InterfaceSynthesizer service.
INTROSPECTOR_MUTEX - Static variable in class org.apache.hivemind.HiveMind
An object used to synchronize access to java.beans.Introspector (which is not fully threadsafe).
InterceptorStack - interface org.apache.hivemind.InterceptorStack.
Used when constructing an interceptor stack around a service implementation instance.
inRange(int) - Method in class org.apache.hivemind.Occurances
Validates that an actual count is in range for the particular Occurances count.
isBlank(String) - Static method in class org.apache.hivemind.HiveMind
Returns true if the string is null, empty, or contains only whitespace.
isConfigurationMappable(String) - Method in interface org.apache.hivemind.Registry
Returns true if the elements contributed to the given configuration point can be retrieved as a Map 55 .
isEmpty() - Method in interface org.apache.hivemind.Element
Returns true if this element contains no other elements.
isEmpty(Collection) - Static method in class org.apache.hivemind.HiveMind
Returns true if the Collection is null or empty.
isNonBlank(String) - Static method in class org.apache.hivemind.HiveMind
As with HiveMind.isBlank(String) 55 , but inverts the response.

L

Locatable - interface org.apache.hivemind.Locatable.
Interface for classes that may be linked to a specific location.
Location - interface org.apache.hivemind.Location.
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 org.apache.hivemind.LocationHolder.
Common interface for objects that can hold a location, typically, the location within a Resource from which the object was created.

M

Messages - interface org.apache.hivemind.Messages.
A set of localized message strings.
ModuleDescriptorProvider - interface org.apache.hivemind.ModuleDescriptorProvider.
ModuleDescriptorProviders are used by the org.apache.hivemind.impl.RegistryBuilder (see RegistryBuilder.addModuleDescriptorProvider(ModuleDescriptorProvider)>RegistryBuilder.addModuleDescriptorProvider(ModuleDescriptorProvider) 55 ) to load the org.apache.hivemind.parse.ModuleDescriptor objects describing the Modules which will be exposed by the Registry.
methodA() - Method in class org.apache.hivemind.BeanA
 
methodB() - Method in class org.apache.hivemind.BeanB
 

N

NONE - Static variable in class org.apache.hivemind.Occurances
 

O

ONE_PLUS - Static variable in class org.apache.hivemind.Occurances
At least one is required.
OPTIONAL - Static variable in class org.apache.hivemind.Occurances
Optional, may be zero or one, but not more.
Occurances - class org.apache.hivemind.Occurances.
Identifies the number of contributions allowed to a configuration extension point.
Occurances(String) - Constructor for class org.apache.hivemind.Occurances
 
Orderable - interface org.apache.hivemind.Orderable.
Interface typically used by configuration items that wish to be ordered.
org.apache.hivemind - package org.apache.hivemind
 

P

PoolManageable - interface org.apache.hivemind.PoolManageable.
Interface for core service implementations that are managed using the pooled service model.
paramNotNull(String) - Static method in class org.apache.hivemind.HiveMindMessages
 
paramWrongType(String, Object, Class) - Static method in class org.apache.hivemind.HiveMindMessages
 
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 interface org.apache.hivemind.InterceptorStack
Returns the current top object on the stack.
push(Object) - Method in interface org.apache.hivemind.InterceptorStack
Pushes a new instance onto the stack.

R

REQUIRED - Static variable in class org.apache.hivemind.Occurances
Exactly one is required.
Registry - interface org.apache.hivemind.Registry.
The HiveMind registry; primarily this is used to gain access to services.
Resource - interface org.apache.hivemind.Resource.
Describes the location of a resource, such as a module deployment descriptor, or a messages file.
Reverser - class org.apache.hivemind.Reverser.
 
Reverser() - Constructor for class org.apache.hivemind.Reverser
 
registryShutdown() - Static method in class org.apache.hivemind.HiveMindMessages
 
removeRegistryShutdownListener(RegistryShutdownListener) - Method in interface org.apache.hivemind.ShutdownCoordinator
 
reverse(String) - Method in class org.apache.hivemind.Reverser
 

S

ServiceImplementationFactory - interface org.apache.hivemind.ServiceImplementationFactory.
Interface for an object that can create a service's core implementation.
ServiceImplementationFactoryParameters - interface org.apache.hivemind.ServiceImplementationFactoryParameters.
A wrapper for the parameters needed by ServiceImplementationFactory.
ServiceInterceptorFactory - interface org.apache.hivemind.ServiceInterceptorFactory.
Interface defining an interceptor factory, an object that can create an interceptor.
ShutdownCoordinator - interface org.apache.hivemind.ShutdownCoordinator.
The coordinator is used by other services to determine when the registry was shutdown.
SymbolSource - interface org.apache.hivemind.SymbolSource.
Used to define an object that can provide a value for a substitution symbol (substitution symbol can appear in HiveMind module deployment descriptors).
SymbolSourceContribution - class org.apache.hivemind.SymbolSourceContribution.
Contribution to the org.apache.hivemind.SymbolSource configuration extension point; used to provide a SymbolSource implementation (often, as a service defined in HiveMind itself), and advice on ordering the service.
SymbolSourceContribution() - Constructor for class org.apache.hivemind.SymbolSourceContribution
 
serialVersionUID - Static variable in class org.apache.hivemind.ApplicationRuntimeException
 
setBeanB(BeanB) - Method in class org.apache.hivemind.BeanA
 
setFollowingNames(String) - Method in class org.apache.hivemind.SymbolSourceContribution
 
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 interface org.apache.hivemind.LocationHolder
 
setName(String) - Method in class org.apache.hivemind.SymbolSourceContribution
 
setPrecedingNames(String) - Method in class org.apache.hivemind.SymbolSourceContribution
 
setSource(SymbolSource) - Method in class org.apache.hivemind.SymbolSourceContribution
 
setupThread() - Method in interface org.apache.hivemind.Registry
To be invoked at the start of each request in a multi-threaded environment.
shutdown() - Method in interface org.apache.hivemind.Registry
Shuts down the registry; this notifies all org.apache.hivemind.events.RegistryShutdownListener services and objects.
shutdown() - Method in interface org.apache.hivemind.ShutdownCoordinator
 

T

THREAD_EVENT_NOTIFIER_SERVICE - Static variable in class org.apache.hivemind.HiveMind
The full id of the org.apache.hivemind.service.ThreadEventNotifier service.
THREAD_LOCALE_SERVICE - Static variable in class org.apache.hivemind.HiveMind
The full id of the org.apache.hivemind.service.ThreadLocale service.
TestApplicationRuntimeException - class org.apache.hivemind.TestApplicationRuntimeException.
Tests some features of ApplicationRuntimeException.
TestApplicationRuntimeException() - Constructor for class org.apache.hivemind.TestApplicationRuntimeException
 
TestBeanService - class org.apache.hivemind.TestBeanService.
Integration tests to prove that HiveMind supports JavaBeans classes as the "interface" of a service point.
TestBeanService() - Constructor for class org.apache.hivemind.TestBeanService
 
TestDefense - class org.apache.hivemind.TestDefense.
Test for org.apache.hivemind.util.Defense.
TestDefense() - Constructor for class org.apache.hivemind.TestDefense
 
TestOccurances - class org.apache.hivemind.TestOccurances.
Tests Occurances.inRange(int) 55 for different types of occurances.
TestOccurances() - Constructor for class org.apache.hivemind.TestOccurances
 
TestThreadLocale - class org.apache.hivemind.TestThreadLocale.
Tests for org.apache.hivemind.service.ThreadLocale service.
TestThreadLocale() - Constructor for class org.apache.hivemind.TestThreadLocale
 
testAutowireBeanServiceProperty() - Method in class org.apache.hivemind.TestBeanService
 
testCorrectType() - Method in class org.apache.hivemind.TestDefense
 
testFactory() - Method in class org.apache.hivemind.TestBeanService
 
testIncorrectType() - Method in class org.apache.hivemind.TestDefense
 
testIncorrectTypeWithArrays() - Method in class org.apache.hivemind.TestDefense
 
testIsNull() - Method in class org.apache.hivemind.TestDefense
 
testNone() - Method in class org.apache.hivemind.TestOccurances
 
testNotNull() - Method in class org.apache.hivemind.TestDefense
 
testOnePlus() - Method in class org.apache.hivemind.TestOccurances
 
testOptional() - Method in class org.apache.hivemind.TestOccurances
 
testPooled() - Method in class org.apache.hivemind.TestBeanService
 
testRequired() - Method in class org.apache.hivemind.TestOccurances
 
testResetOnThreadCleanup() - Method in class org.apache.hivemind.TestThreadLocale
 
testSimple() - Method in class org.apache.hivemind.TestBeanService
 
testThreadSpecific() - Method in class org.apache.hivemind.TestThreadLocale
 
testThreaded() - Method in class org.apache.hivemind.TestBeanService
 
testToStringNoLocation() - Method in class org.apache.hivemind.TestApplicationRuntimeException
 
testToStringWithLocation() - Method in class org.apache.hivemind.TestApplicationRuntimeException
 
testUnbounded() - Method in class org.apache.hivemind.TestOccurances
 
threadDidDiscardService() - Method in interface org.apache.hivemind.Discardable
Invoked when a service is being discarded.
toString() - Method in class org.apache.hivemind.ApplicationRuntimeException
Overrides the default implementation of toString, suffixing the normal result with the location 55 of the exception (if non null).
toString() - Method in class org.apache.hivemind.Occurances
 

U

UNBOUNDED - Static variable in class org.apache.hivemind.Occurances
An unbounded number, zero or more.
unimplementedMethod(Object, String) - Static method in class org.apache.hivemind.HiveMindMessages
 
unknownLocation() - Static method in class org.apache.hivemind.HiveMindMessages
 

V

valueForSymbol(String) - Method in interface org.apache.hivemind.SymbolSource
Returns the value for the symbol, if this source can provide one.

_

_component - Variable in class org.apache.hivemind.ApplicationRuntimeException
 
_followingNames - Variable in class org.apache.hivemind.SymbolSourceContribution
 
_formatter - Static variable in class org.apache.hivemind.HiveMindMessages
 
_location - Variable in class org.apache.hivemind.ApplicationRuntimeException
 
_name - Variable in class org.apache.hivemind.Occurances
 
_name - Variable in class org.apache.hivemind.SymbolSourceContribution
 
_precedingNames - Variable in class org.apache.hivemind.SymbolSourceContribution
 
_rootCause - Variable in class org.apache.hivemind.ApplicationRuntimeException
 
_source - Variable in class org.apache.hivemind.SymbolSourceContribution
 

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