org.objectweb.dsrg.sofa.bootstrap
Class InterceptorGenerator

java.lang.Object
  extended by org.objectweb.dsrg.sofa.bootstrap.InterceptorGenerator
All Implemented Interfaces:
SOFAMicroGenerator

public class InterceptorGenerator
extends java.lang.Object
implements SOFAMicroGenerator


Constructor Summary
InterceptorGenerator()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorGenerator

public InterceptorGenerator()
Method Detail

generate

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

Specified by:
generate in interface SOFAMicroGenerator
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