org.sape.carbon.services.instrumentation.statistics
Class StatisticsInterceptorFactory
java.lang.Object
|
+--org.sape.carbon.services.instrumentation.statistics.StatisticsInterceptorFactory
- All Implemented Interfaces:
- DecoratorFactory
- public class StatisticsInterceptorFactory
- extends Object
- implements DecoratorFactory
Constructs the component intercept for the StatisticsInterceptor.
Copyright 2003 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.5 $($Author: dvoet $ / $Date: 2003/05/05 21:21:30 $)
- Author:
- Greg Hinkle, January 2002
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticsInterceptorFactory
public StatisticsInterceptorFactory()
getInstance
public Decorator getInstance(FunctionalInterface functionalImplementation,
ComponentConfiguration componentConfiguration,
ComponentProxyInvocationHandler proxyInvocationHandler,
Configuration decoratorConfiguration)
Constructs a component interceptor. The parameters of this method
encompass all the information known about a component at the time
it is constructed.
- Specified by:
getInstance
in interface DecoratorFactory
- Parameters:
functionalImplementation
- The functional implementation of the
component. This is supplied for cases where the interceptor
needs to access the functional implementation object directly.componentConfiguration
- configuartion of the component which being
builtproxyInvocationHandler
- the invocation handler object that backs
the component that this interceptor is being built fordecoratorConfiguration
- a custom configuration object for the
interceptor
- Returns:
- The
Decorator
that was built by this factory
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.