org.apache.fulcrum.yaafi.framework.interceptor
Class AvalonInterceptorFactory
java.lang.Object
org.apache.fulcrum.yaafi.framework.interceptor.AvalonInterceptorFactory
public class AvalonInterceptorFactory
- extends Object
A factory for creating dynamic proxies for Avalon services.
- Author:
- Siegfried Goeschl
|
Method Summary |
static Object |
create(String serviceName,
String serviceShorthand,
org.apache.avalon.framework.service.ServiceManager serviceManager,
String[] serviceInterceptorList,
Object serviceDelegate)
Creates a dynamic proxy wrapping a service instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvalonInterceptorFactory
public AvalonInterceptorFactory()
create
public static Object create(String serviceName,
String serviceShorthand,
org.apache.avalon.framework.service.ServiceManager serviceManager,
String[] serviceInterceptorList,
Object serviceDelegate)
throws org.apache.avalon.framework.service.ServiceException
- Creates a dynamic proxy wrapping a service instance.
- Parameters:
serviceName - the name of the serviceserviceShorthand - the shorthand of the service being interceptedserviceManager - the corresponding service managerserviceInterceptorList - the list of interceptors to be installedserviceDelegate - the service implementation
- Returns:
- a dynamic proxy
- Throws:
org.apache.avalon.framework.service.ServiceException - an interceptor was not found
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.