Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# Implementation class for the ExtensionActivator
org.apache.tuscany.implementation.script.ScriptModuleActivator

SpringModuleActivator class 

Constructor

Creates resources used by other parts of the Module implementation:

  • AssemblyFactory
  • JavaInterfaceFactory
  • PolicyFactory

start()

Takes an ExtensionPointRegistry as input parameter, which provides access to configuration of the core.

  • Creates a SpringArtifactProcessor and adds to the registry StAXArtifactProcessors
  • Creates a SpringImplementationProviderFactory and adds to the registry ProviderFactories

Creates a series of artifacts that are required by the SpringArtifactProcessor and SpringImplementationProviderFactory 

stop()

Removes the SpringArtifactProcessor from the registry StAXArtifactProcessors 

getExtensionPoints() 

Returns a very simple DefaultJavaClassIntrospectorExtensionPoint. 

Resolution of the ComponentType of Spring application context

...