Class CompositeResourceFactory_impl

  • All Implemented Interfaces:
    CompositeResourceFactory, ResourceFactory

    public class CompositeResourceFactory_impl
    extends java.lang.Object
    implements CompositeResourceFactory
    A registry containing (ResourceSpecifier Class, ResourceFactory) pairs. Also implements the ResourceFactory interface, and produces resources by delegating to the most recently registered ResourceFactory instance that can handle the class of the given specifier object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Resource produceResource​(java.lang.Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, java.util.Map<java.lang.String,​java.lang.Object> aAdditionalParams)
      Produces an appropriate Resource instance from a ResourceSpecifier.
      void registerFactory​(java.lang.Class aResourceSpecifierInterface, ResourceFactory aFactory)
      Registers a ResourceFactory with this composite factory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait