org.objectweb.dsrg.sofa.microarchitecture
Interface SOFAMicroGenerator

All Known Implementing Classes:
FactoryInterceptorGenerator, InterceptorGenerator

public interface SOFAMicroGenerator

Interface the content generators for microcomponents have to implement.


Method Summary
 SOFAMicroComponent generate(java.lang.Class iface, java.util.Map<java.lang.String,java.lang.String> parameters)
          This method generates delegating microcomponent for given interface.
 

Method Detail

generate

SOFAMicroComponent generate(java.lang.Class iface,
                            java.util.Map<java.lang.String,java.lang.String> parameters)
                            throws SOFAException
This method generates delegating microcomponent for given interface. Parameters from microarchitecture model MicroComponentInstance are passed.

Parameters:
iface - Interface the new microcomponent delegates.
parameters - Parameters to the new microcomponent. Exactly the same parameters will the new microcomponent get in the init() method.
Throws:
SOFAException