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

Generator of interface interceptors.


Constructor Summary
InterceptorGenerator()
          Constructor.
 
Method Summary
 SOFAMicroInterceptor generate(java.lang.Class iface, java.util.Map<java.lang.String,java.lang.String> parameters)
          Generate interceptor class for given interface and parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorGenerator

public InterceptorGenerator()
Constructor.

Method Detail

generate

public SOFAMicroInterceptor generate(java.lang.Class iface,
                                     java.util.Map<java.lang.String,java.lang.String> parameters)
                              throws SOFAException
Generate interceptor class for given interface and parameters.

Specified by:
generate in interface SOFAMicroGenerator
Parameters:
iface - interface which would be intercepted
parameters - parameters for the bytecode generator which notification should be generated
Throws:
SOFAException