org.apache.hivemind.lib.impl
Class MethodInterceptorFactory

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.hivemind.lib.impl.MethodInterceptorFactory
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.hivemind.ServiceInterceptorFactory

public class MethodInterceptorFactory
extends org.apache.hivemind.impl.BaseLocatable
implements org.apache.hivemind.ServiceInterceptorFactory

A service interceptor factory supporting the AOP Alliance MethodInterceptor interface. Note:The current implementation uses JDK proxies as opposed to Javassist!

Since:
1.1
Author:
James Carman

Constructor Summary
MethodInterceptorFactory()
           
 
Method Summary
 void createInterceptor(org.apache.hivemind.InterceptorStack stack, org.apache.hivemind.internal.Module invokingModule, java.util.List parameters)
           
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInterceptorFactory

public MethodInterceptorFactory()
Method Detail

createInterceptor

public void createInterceptor(org.apache.hivemind.InterceptorStack stack,
                              org.apache.hivemind.internal.Module invokingModule,
                              java.util.List parameters)
Specified by:
createInterceptor in interface org.apache.hivemind.ServiceInterceptorFactory
See Also:
ServiceInterceptorFactory.createInterceptor(org.apache.hivemind.InterceptorStack, org.apache.hivemind.internal.Module, java.util.List)