org.apache.tuscany.sca.extension.helper.impl
Class ImplementationsActivator

java.lang.Object
  extended by org.apache.tuscany.sca.extension.helper.impl.ImplementationsActivator
All Implemented Interfaces:
ModuleActivator

public class ImplementationsActivator
extends java.lang.Object
implements ModuleActivator

A Tuscany ModuleActivator which activates all the ImplementationActivators


Field Summary
protected  java.util.List<ImplementationActivator> implementationActivators
           
 
Constructor Summary
ImplementationsActivator()
           
 
Method Summary
protected  javax.xml.namespace.QName getSCDLQName(java.lang.Class implementationClass)
           
 void start(ExtensionPointRegistry registry)
          This method is invoked when the module is started by the Tuscany system.
 void stop(ExtensionPointRegistry registry)
          This method is invoked when the module is stopped by the Tuscany system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

implementationActivators

protected java.util.List<ImplementationActivator> implementationActivators
Constructor Detail

ImplementationsActivator

public ImplementationsActivator()
Method Detail

start

public void start(ExtensionPointRegistry registry)
Description copied from interface: ModuleActivator
This method is invoked when the module is started by the Tuscany system. It can be used by this module to register extensions against extension points.

Specified by:
start in interface ModuleActivator
Parameters:
registry - The extension point registry

stop

public void stop(ExtensionPointRegistry registry)
Description copied from interface: ModuleActivator
This method is invoked when the module is stopped by the Tuscany system. It can be used by this module to unregister extensions against the extension points.

Specified by:
stop in interface ModuleActivator
Parameters:
registry - The extension point registry

getSCDLQName

protected javax.xml.namespace.QName getSCDLQName(java.lang.Class implementationClass)