|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Location | |
---|---|
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. |
Uses of Location in org.apache.hivemind |
---|
Methods in org.apache.hivemind that return Location | |
---|---|
static Location |
HiveMind.findLocation(java.lang.Object[] locations)
Selects the first Location in an array of objects. |
Location |
Locatable.getLocation()
Returns the location from which
this object orginates, or null if not known. |
Location |
ApplicationRuntimeException.getLocation()
|
static Location |
HiveMind.getLocation(java.lang.Object object)
Extracts a location from an object, checking to see if it implement Location or
Locatable . |
Methods in org.apache.hivemind with parameters of type Location | |
---|---|
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)
Invokes ErrorHandler.error(Log, String, Location, Throwable) . |
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 . |
Constructors in org.apache.hivemind with parameters of type Location | |
---|---|
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)
|
Uses of Location in org.apache.hivemind.impl |
---|
Classes in org.apache.hivemind.impl that implement Location | |
---|---|
class |
LocationImpl
Implementation of the Location interface. |
Methods in org.apache.hivemind.impl that return Location | |
---|---|
Location |
BaseLocatable.getLocation()
|
Methods in org.apache.hivemind.impl with parameters of type Location | |
---|---|
void |
StrictErrorHandler.error(org.apache.commons.logging.Log log,
java.lang.String message,
Location location,
java.lang.Throwable cause)
|
void |
DefaultErrorHandler.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 |
SymbolExpander.expandSymbols(java.lang.String text,
Location location)
Identifies symbols in the text and expands them, using the SymbolSource . |
java.lang.String |
RegistryInfrastructureImpl.expandSymbols(java.lang.String text,
Location location)
|
java.lang.String |
RegistryImpl.expandSymbols(java.lang.String input,
Location location)
|
java.lang.String |
ModuleImpl.expandSymbols(java.lang.String input,
Location location)
|
void |
BaseLocatable.setLocation(Location location)
|
Uses of Location in org.apache.hivemind.internal |
---|
Methods in org.apache.hivemind.internal with parameters of type 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). |
java.lang.String |
Module.expandSymbols(java.lang.String input,
Location location)
|
Uses of Location in org.apache.hivemind.parse |
---|
Methods in org.apache.hivemind.parse that return Location | |
---|---|
protected Location |
AbstractParser.getLocation()
Returns the current lcoation, as reported by the parser. |
Uses of Location in org.apache.hivemind.schema |
---|
Methods in org.apache.hivemind.schema with parameters of type Location | |
---|---|
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. |
Uses of Location in org.apache.hivemind.schema.rules |
---|
Methods in org.apache.hivemind.schema.rules with parameters of type Location | |
---|---|
java.lang.Object |
SmartTranslator.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 |
ServicePointTranslator.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 |
QualifiedIdTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
|
java.lang.Object |
NullTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Returns the inputValue. |
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 |
IntTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Converts the string to an Integer. |
java.lang.Object |
InstanceTranslator.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 |
EnumerationTranslator.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 |
ConfigurationTranslator.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 |
BooleanTranslator.translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
|
Constructors in org.apache.hivemind.schema.rules with parameters of type Location | |
---|---|
ReadAttributeRule(java.lang.String attributeName,
java.lang.String propertyName,
java.lang.String translator,
Location location)
|
Uses of Location in org.apache.hivemind.service |
---|
Methods in org.apache.hivemind.service with parameters of type Location | |
---|---|
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. |
Uses of Location in org.apache.hivemind.service.impl |
---|
Methods in org.apache.hivemind.service.impl with parameters of type Location | |
---|---|
void |
EventLinkerImpl.addEventListener(java.lang.Object producer,
java.lang.String eventSetName,
java.lang.Object consumer,
Location location)
|
java.lang.Object |
ServicePropertyObjectProvider.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 |
ObjectInstanceObjectProvider.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 |
ClassObjectProvider.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)
|
Uses of Location in org.apache.hivemind.test |
---|
Methods in org.apache.hivemind.test that return Location | |
---|---|
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. |
Uses of Location in org.apache.hivemind.util |
---|
Methods in org.apache.hivemind.util with parameters of type Location | |
---|---|
static java.lang.Object |
InstanceCreationUtils.createInstance(Module module,
java.lang.String initializer,
Location location)
Creates an instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |