org.sape.carbon.services.management.interceptor
Class ManagementInterceptorFactory

java.lang.Object
  |
  +--org.sape.carbon.services.management.interceptor.ManagementInterceptorFactory
All Implemented Interfaces:
DecoratorFactory

public class ManagementInterceptorFactory
extends Object
implements DecoratorFactory

This factory builds MBeanAssistants for a component.

Since:
carbon 1.0
Version:
$Revision: 1.4 $($Author: dvoet $ / $Date: 2003/05/05 21:21:33 $)
Copyright 2002 Sapient
Author:
Greg Hinkle, January 2002

Constructor Summary
ManagementInterceptorFactory()
           
 
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

ManagementInterceptorFactory

public ManagementInterceptorFactory()
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.