Class ResourceManager


  • public final class ResourceManager
    extends Object
    The resource manager takes care about the loaded resources, performs caching, if needed and is the central instance when dealing with resources. Resource loading is a two-step process. In the first step, the ResourceLoader accesses the physical storage or network connection to read in the binary data. The loaded ResourceData carries versioning information with it an can be cached indendently from the produced result. Once the loading is complete, a ResourceFactory interprets the binary data and produces a Java-Object from it.

    Resources are identified by an Resource-Key and some optional loader parameters (which can be used to parametrize the resource-factories).

    Author:
    Thomas Morgner
    See Also:
    ResourceData, ResourceLoader, ResourceFactory