org.sape.carbon.core.config.interceptor
Class ConfigurationInterceptorFactory

java.lang.Object
  |
  +--org.sape.carbon.core.config.interceptor.ConfigurationInterceptorFactory
All Implemented Interfaces:
DecoratorFactory

public class ConfigurationInterceptorFactory
extends Object
implements DecoratorFactory

This factory builds ConfigurationInterceptors that manage configurations for Carbon Components.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.6 $($Author: dvoet $ / $Date: 2003/10/27 19:54:41 $)
Author:
Greg Hinkle, January 2002

Constructor Summary
ConfigurationInterceptorFactory()
           
 
Method Summary
 Decorator getInstance(FunctionalInterface functionalImplementation, ComponentConfiguration componentConfiguration, ComponentProxyInvocationHandler proxyInvocationHandler, Configuration decoratorConfiguration)
          Constructs a component interceptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationInterceptorFactory

public ConfigurationInterceptorFactory()
Method Detail

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 built
proxyInvocationHandler - the invocation handler object that backs the component that this interceptor is being built for
decoratorConfiguration - a custom configuration object for the interceptor
Returns:
The Decorator that was built by this factory


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.