Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.deployer
Interface Deployer


public interface Deployer

Interface that can be used to deploy SCA bundles to a runtime.

Version:
$Rev: 441893 $ $Date: 2006-09-09 20:41:09 -0700 (Sat, 09 Sep 2006) $

Method Summary
<I extends Implementation<?>>
Component
deploy(CompositeComponent parent, ComponentDefinition<I> componentDefinition)
          Deploy a component as a child of the supplied parent.
 

Method Detail

deploy

<I extends Implementation<?>> Component deploy(CompositeComponent parent,
                                               ComponentDefinition<I> componentDefinition)
                 throws LoaderException
Deploy a component as a child of the supplied parent. This operation creates a new component in the runtime to represent the supplied component definition. The type of component created will depend on the component definition implementation; for example, if the implementation of the component definition is a composite then typically a CompositeComponent would be returned.

Parameters:
parent - the parent context
componentDefinition - the component definition as parsed from an assembly
Returns:
the newly deployed component
Throws:
LoaderException

Apache Tuscany SCA Kernel Sub-Project

-