Uses of Interface
org.apache.hivemind.Resource

Packages that use Resource
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. 
 

Uses of Resource in org.apache.hivemind
 

Methods in org.apache.hivemind that return Resource
 Resource Location.getResource()
          The resource containing the location.
 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.
 

Uses of Resource in org.apache.hivemind.impl
 

Methods in org.apache.hivemind.impl that return Resource
 Resource LocationImpl.getResource()
           
 

Constructors in org.apache.hivemind.impl with parameters of type Resource
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.
 

Uses of Resource in org.apache.hivemind.parse
 

Methods in org.apache.hivemind.parse that return Resource
protected  Resource AbstractParser.getResource()
          Returns the Resource being parsed (as set by AbstractParser.initializeParser(Resource, int).
 Resource SubModuleDescriptor.getDescriptor()
           
 

Methods in org.apache.hivemind.parse with parameters of type Resource
protected  void AbstractParser.initializeParser(Resource resource, int startState)
          Initializes the parser; this should be called before any SAX parse events are received.
 void DescriptorParser.initialize(Resource resource, ClassResolver resolver)
           
 void SubModuleDescriptor.setDescriptor(Resource descriptor)
           
 ModuleDescriptor XmlResourceProcessor.processResource(Resource resource)
          Initializes the parser, processes the Resource, resets the parser, and finally returns the parsed ModuleDescriptor.
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.
 

Uses of Resource in org.apache.hivemind.test
 

Methods in org.apache.hivemind.test that return Resource
protected  Resource HiveMindTestCase.getResource(java.lang.String file)
          Returns the given file as a Resource from the classpath.
 

Methods in org.apache.hivemind.test with parameters of type Resource
protected  Registry HiveMindTestCase.buildMinimalRegistry(Resource l)
          Builds a registry from exactly the provided resource; this registry will not include the hivemind module.
 

Uses of Resource in org.apache.hivemind.util
 

Classes in org.apache.hivemind.util that implement Resource
 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.
 

Methods in org.apache.hivemind.util that return Resource
 Resource AbstractResource.getRelativeResource(java.lang.String name)
           
protected abstract  Resource AbstractResource.newResource(java.lang.String path)
           
 Resource ClasspathResource.getLocalization(java.util.Locale locale)
          Locates the localization of the resource using LocalizedResourceFinder.
protected  Resource ClasspathResource.newResource(java.lang.String path)
           
 Resource ContextResource.getLocalization(java.util.Locale locale)
          Locates the resource using LocalizedContextResourceFinder and ServletContext.getResource(java.lang.String).
protected  Resource ContextResource.newResource(java.lang.String path)
           
protected  Resource FileResource.newResource(java.lang.String path)
           
 Resource FileResource.getLocalization(java.util.Locale locale)
           
protected  Resource URLResource.newResource(java.lang.String path)
           
 Resource URLResource.getLocalization(java.util.Locale locale)
          Always returns this location; no localization check occurs.