org.apache.tuscany.spi.loader
Interface ComponentTypeLoader<I extends Implementation>
- All Known Implementing Classes:
- ComponentTypeLoaderExtension
public interface ComponentTypeLoader<I extends Implementation>
Loader that will load the ComponentType definition for the supplied implementation. The actual mechanism used to load
that definition is determined by the Client and Implementation Specification for the implementaion type. In some
cases the definition may be contained in a XML file related to the implementation artifact in some well defined
manner; other implementations may obtain this information from introspection of the artifact itself (for example, by
examining Java annotations).
- Version:
- $Rev: 441893 $ $Date: 2006-09-09 20:41:09 -0700 (Sat, 09 Sep 2006) $
load
void load(CompositeComponent parent,
I implementation,
DeploymentContext deploymentContext)
throws LoaderException
- Load the component type definition for the supplied implementation.
- Parameters:
parent
- the parent compositeimplementation
- the implementation whose component type information should be loadeddeploymentContext
- the current deployment context
- Throws:
LoaderException
- if there was a problem loading the configuration type
-