Package | Description |
---|---|
org.apache.hivemind |
The main HiveMind package.
|
org.apache.hivemind.impl |
Implementations of interfaces defined in the org.apache.commons.hivemind package.
|
org.apache.hivemind.internal | |
org.apache.hivemind.parse |
Classes used to parse HiveMind module deployment descriptors, and descriptor objects
that represent the parsed information.
|
org.apache.hivemind.schema |
Interfaces defining
Schema support (used to process
extension point contributions and service parameters). |
org.apache.hivemind.schema.rules |
Implementations of the
Rule
and
Translator interfaces. |
org.apache.hivemind.service |
Definitions of services provided by the
hivemind module. |
org.apache.hivemind.service.impl |
Implementations of services provided by the
hivemind module. |
org.apache.hivemind.test |
Base classes and utilities to support unit tests involving HiveMind.
|
org.apache.hivemind.util |
Implementations of
Resource and related utilities. |
Modifier and Type | Method and Description |
---|---|
static Location |
HiveMind.findLocation(java.lang.Object[] locations)
Selects the first
Location in an array of objects. |
Location |
ApplicationRuntimeException.getLocation() |
Location |
Locatable.getLocation()
Returns the
location from which
this object orginates, or null if not known. |
static Location |
HiveMind.getLocation(java.lang.Object object)
|
Modifier and Type | Method and Description |
---|---|
void |
ErrorHandler.error(org.apache.commons.logging.Log log,
java.lang.String message,
Location location,
java.lang.Throwable cause)
Handle a recoverable error.
|
void |
ErrorLog.error(java.lang.String message,
Location location,
java.lang.Throwable cause)
|
java.lang.String |
Registry.expandSymbols(java.lang.String input,
Location location)
Expands any substitution symbols in the input string, replacing each symbol with the symbols
value (if known).
|
void |
LocationHolder.setLocation(Location location) |
static void |
HiveMind.setLocation(java.lang.Object holder,
Location location)
Updates the location of an object, if the object implements
LocationHolder . |
Constructor and Description |
---|
ApplicationRuntimeException(java.lang.String message,
Location location,
java.lang.Throwable rootCause) |
ApplicationRuntimeException(java.lang.String message,
java.lang.Object component,
Location location,
java.lang.Throwable rootCause) |
Modifier and Type | Class and Description |
---|---|
class |
LocationImpl
Implementation of the
Location interface. |
Modifier and Type | Method and Description |
---|---|
Location |
BaseLocatable.getLocation() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultErrorHandler.error(org.apache.commons.logging.Log log,
java.lang.String message,
Location location,
java.lang.Throwable cause) |
void |
StrictErrorHandler.error(org.apache.commons.logging.Log log,
java.lang.String message,
Location location,
java.lang.Throwable cause) |
void |
ErrorLogImpl.error(java.lang.String message,
Location location,
java.lang.Throwable cause) |
java.lang.String |
ModuleImpl.expandSymbols(java.lang.String input,
Location location) |
java.lang.String |
RegistryImpl.expandSymbols(java.lang.String input,
Location location) |
java.lang.String |
RegistryInfrastructureImpl.expandSymbols(java.lang.String text,
Location location) |
java.lang.String |
SymbolExpander.expandSymbols(java.lang.String text,
Location location)
Identifies symbols in the text and expands them, using the
SymbolSource . |
void |
BaseLocatable.setLocation(Location location) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Module.expandSymbols(java.lang.String input,
Location location) |
java.lang.String |
RegistryInfrastructure.expandSymbols(java.lang.String input,
Location location)
Expands any substitution symbols in the input string, replacing each symbol with the symbols
value (if known).
|
Modifier and Type | Method and Description |
---|---|
protected Location |
AbstractParser.getLocation()
Returns the current lcoation, as reported by the parser.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Translator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Invoked by a
Rule
to translate an inputValue into an appropriate object. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
BooleanTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
ClassTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
ConfigurationTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
DoubleTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Converts the string to an Double.
|
java.lang.Object |
EnumerationTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
IdListTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
InstanceTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
IntTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Converts the string to an Integer.
|
java.lang.Object |
LongTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Converts the string to an Long.
|
java.lang.Object |
NullTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Returns the inputValue.
|
java.lang.Object |
QualifiedIdTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
ResourceTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Finds the resource.
|
java.lang.Object |
ServicePointTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
java.lang.Object |
ServiceTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Returns null if the input is null or empty.
|
java.lang.Object |
SmartTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
Constructor and Description |
---|
ReadAttributeRule(java.lang.String attributeName,
java.lang.String propertyName,
java.lang.String translator,
Location location) |
Modifier and Type | Method and Description |
---|---|
void |
EventLinker.addEventListener(java.lang.Object producer,
java.lang.String eventSetName,
java.lang.Object consumer,
Location location)
Adds the consumer as a listener of events published by the producer.
|
java.lang.Object |
ObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location)
Invoked by the translator to provide the value.
|
Modifier and Type | Method and Description |
---|---|
void |
EventLinkerImpl.addEventListener(java.lang.Object producer,
java.lang.String eventSetName,
java.lang.Object consumer,
Location location) |
java.lang.Object |
ClassObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location) |
java.lang.Object |
ConfigurationObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location)
A wrapper around
Module.getConfiguration(String) . |
java.lang.Object |
ObjectInstanceObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location) |
java.lang.Object |
ServiceObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location)
Interprets the locator as a service id, and passes it to
Module.getService(String, Class) . |
java.lang.Object |
ServicePropertyObjectProvider.provideObject(Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
Location location) |
java.lang.Object |
ObjectTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location) |
Modifier and Type | Method and Description |
---|---|
protected Location |
HiveMindTestCase.fabricateLocation(int line)
Deprecated.
To be removed in 1.2. Use
HiveMindTestCase.newLocation() instead. |
protected Location |
HiveMindTestCase.newLocation()
Returns a new
Location instance. |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
InstanceCreationUtils.createInstance(Module module,
java.lang.String initializer,
Location location)
Creates an instance.
|