org.sape.carbon.core.component.proxy
Class DefaultProxyInvokerFactory
java.lang.Object
|
+--org.sape.carbon.core.component.proxy.DefaultProxyInvokerFactory
- All Implemented Interfaces:
- DecoratorFactory
- public class DefaultProxyInvokerFactory
- extends Object
- implements DecoratorFactory
This decorator factory constructs a ProxyInvoker
for the
Interceptor chain.
Copyright 2003 Sapient
- Since:
- carbon 2.0
- Version:
- $Revision: 1.5 $($Author: dvoet $ / $Date: 2003/05/05 21:21:14 $)
- Author:
- Greg Hinkle, March 2003
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProxyInvokerFactory
public DefaultProxyInvokerFactory()
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.