Tuscany Core

org.apache.tuscany.core.loader
Class LoaderContext

java.lang.Object
  extended by org.apache.tuscany.core.loader.LoaderContext

public class LoaderContext
extends java.lang.Object

Context holder that can be used during the load process to store information that is not part of the logical model. This should be regarded as transient and references to this context should not be stored inside the model.

Version:
$Rev$ $Date$

Constructor Summary
LoaderContext(org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
          Constructor specifying the loader for application resources.
 
Method Summary
 org.apache.tuscany.common.resource.ResourceLoader getResourceLoader()
          Returns a resource loader that can be used to load application resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoaderContext

public LoaderContext(org.apache.tuscany.common.resource.ResourceLoader resourceLoader)
Constructor specifying the loader for application resources.

Parameters:
resourceLoader - the loader for application resources
Method Detail

getResourceLoader

public org.apache.tuscany.common.resource.ResourceLoader getResourceLoader()
Returns a resource loader that can be used to load application resources.

Returns:
a resource loader that can be used to load application resources

Tuscany Core

-