org.apache.hivemind.lib.impl
Class MethodInterceptorFactory
java.lang.Object
   org.apache.hivemind.impl.BaseLocatable
org.apache.hivemind.impl.BaseLocatable
       org.apache.hivemind.lib.impl.MethodInterceptorFactory
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
 
| Method Summary | 
|  void | createInterceptor(org.apache.hivemind.InterceptorStack stack,
                                   org.apache.hivemind.internal.Module invokingModule,
                                   org.aopalliance.intercept.MethodInterceptor methodInterceptor)
 | 
|  void | createInterceptor(org.apache.hivemind.InterceptorStack stack,
                                   org.apache.hivemind.internal.Module invokingModule,
                                   java.lang.Object 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 | 
 
MethodInterceptorFactory
public MethodInterceptorFactory()
createInterceptor
public void createInterceptor(org.apache.hivemind.InterceptorStack stack,
                              org.apache.hivemind.internal.Module invokingModule,
                              java.lang.Object parameters)
- 
- Specified by:
- createInterceptorin interface- org.apache.hivemind.ServiceInterceptorFactory
 
- 
- See Also:
- org.apache.hivemind.ServiceInterceptorFactory#createInterceptor(org.apache.hivemind.InterceptorStack, org.apache.hivemind.internal.Module, java.util.List)
 
createInterceptor
public void createInterceptor(org.apache.hivemind.InterceptorStack stack,
                              org.apache.hivemind.internal.Module invokingModule,
                              org.aopalliance.intercept.MethodInterceptor methodInterceptor)
- 
 
- 
- See Also:
- org.apache.hivemind.ServiceInterceptorFactory#createInterceptor(org.apache.hivemind.InterceptorStack, org.apache.hivemind.internal.Module, java.util.List)
 
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.