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.parse |
Classes used to parse HiveMind module deployment descriptors, and descriptor objects
that represent the parsed information.
|
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 |
---|---|
Resource |
Resource.getLocalization(java.util.Locale locale)
Returns a localized version of this resource (or this resource, if no
appropriate localization is found).
|
Resource |
Resource.getRelativeResource(java.lang.String name)
Returns at a relative location to this resource.
|
Resource |
Location.getResource()
The resource containing the location.
|
Modifier and Type | Method and Description |
---|---|
Resource |
LocationImpl.getResource() |
Constructor and Description |
---|
LocationImpl(Resource resource) |
LocationImpl(Resource resource,
int lineNumber) |
LocationImpl(Resource resource,
int lineNumber,
int columnNumber) |
MessageFinderImpl(Resource baseResource) |
XmlModuleDescriptorProvider(ClassResolver resolver,
Resource resource)
Constructs an XmlModuleDescriptorProvider only loading the ModuleDescriptor identified by the
given
Resource . |
Modifier and Type | Method and Description |
---|---|
Resource |
SubModuleDescriptor.getDescriptor() |
protected Resource |
AbstractParser.getResource()
Returns the
Resource being parsed (as set by AbstractParser.initializeParser(Resource, int) . |
Modifier and Type | Method and Description |
---|---|
void |
DescriptorParser.initialize(Resource resource,
ClassResolver resolver) |
protected void |
AbstractParser.initializeParser(Resource resource,
int startState)
Initializes the parser; this should be called before any SAX parse events are received.
|
protected ModuleDescriptor |
XmlResourceProcessor.parseResource(Resource resource,
javax.xml.parsers.SAXParser parser,
DescriptorParser contentHandler)
Returns the ModuleDescriptor obtained by parsing the specified Resource using the given
SAXParser and DescriptorParser . |
ModuleDescriptor |
XmlResourceProcessor.processResource(Resource resource)
Initializes the
parser ,
processes the Resource, resets the parser, and finally
returns the parsed ModuleDescriptor . |
void |
SubModuleDescriptor.setDescriptor(Resource descriptor) |
Modifier and Type | Method and Description |
---|---|
protected Resource |
HiveMindTestCase.getResource(java.lang.String file)
Returns the given file as a
Resource from the classpath. |
Modifier and Type | Method and Description |
---|---|
protected Registry |
HiveMindTestCase.buildMinimalRegistry(Resource l)
Builds a registry from exactly the provided resource; this registry will not include the
hivemind module. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractResource
Abstract implementation of
Resource . |
class |
ClasspathResource
Implementation of
Resource
for resources found within the classpath. |
class |
ContextResource
Implementation of
Resource for resources found within the web
application context. |
class |
FileResource
An implementation of
Resource built around
File . |
class |
URLResource
An implementation of
Resource
built around a string representation of a URL. |
Modifier and Type | Method and Description |
---|---|
Resource |
ClasspathResource.getLocalization(java.util.Locale locale)
Locates the localization of the
resource using
LocalizedResourceFinder . |
Resource |
ContextResource.getLocalization(java.util.Locale locale)
Locates the resource using
LocalizedContextResourceFinder and
ServletContext.getResource(java.lang.String) . |
Resource |
FileResource.getLocalization(java.util.Locale locale) |
Resource |
URLResource.getLocalization(java.util.Locale locale)
Always returns this location; no localization check occurs.
|
Resource |
AbstractResource.getRelativeResource(java.lang.String name) |
protected abstract Resource |
AbstractResource.newResource(java.lang.String path) |
protected Resource |
ClasspathResource.newResource(java.lang.String path) |
protected Resource |
ContextResource.newResource(java.lang.String path) |
protected Resource |
FileResource.newResource(java.lang.String path) |
protected Resource |
URLResource.newResource(java.lang.String path) |