Klasse 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.
Autor:
Siegfried Goeschl
  • Konstruktordetails

    • AvalonInterceptorFactory

      public AvalonInterceptorFactory()
  • Methodendetails

    • 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.
      Parameter:
      serviceName - the name of the service
      serviceShorthand - the shorthand of the service being intercepted
      serviceManager - the corresponding service manager
      serviceInterceptorList - the list of interceptors to be installed
      serviceDelegate - the service implementation
      Gibt zurück:
      a dynamic proxy
      Löst aus:
      org.apache.avalon.framework.service.ServiceException - an interceptor was not found