com.aurorasoftworks.signal.runtime.core.context
Interface IContextLoader

All Known Implementing Classes:
ContextClassLoader

public interface IContextLoader

A context loader API. Implementations of this interface can load context instances from any varios types of resources (file, class, etc.).

Author:
Marek

Method Summary
 IContext loadContext(java.lang.String contextName)
          Loads a context from the specified location.
 

Method Detail

loadContext

IContext loadContext(java.lang.String contextName)
                     throws ContextException
Loads a context from the specified location.

Parameters:
contextName - a name that uniquely identifies a context to be loaded (e.g. a file name). The exact meaning of this parameter depends on the implementation.
Returns:
new context instance
Throws:
ContextException - if an error occurs while loading the context


Copyright © 2010. All Rights Reserved.