org.sape.carbon.core.component.lifecycle
Class LifecycleInterceptorFactory

java.lang.Object
  |
  +--org.sape.carbon.core.component.lifecycle.LifecycleInterceptorFactory
All Implemented Interfaces:
DecoratorFactory

public class LifecycleInterceptorFactory
extends Object
implements DecoratorFactory

LifecycleInterceptor defines the operations that should be provided by some entity that manages the lifecycle of a component. Copyright Sapient 2003

Since:
carbon 2.0
Version:
$Revision: 1.5 $($Author: dvoet $ / $Date: 2003/05/05 21:21:13 $)
Author:
Greg Hinkle, March 2003

Constructor Summary
LifecycleInterceptorFactory()
          default constructor
 
Method Summary
 Decorator getInstance(FunctionalInterface functionalImplementation, ComponentConfiguration componentConfiguration, ComponentProxyInvocationHandler proxyInvocationHandler, Configuration decoratorConfiguration)
          Constructs Lifecycle Interceptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleInterceptorFactory

public LifecycleInterceptorFactory()
default constructor

Method Detail

getInstance

public Decorator getInstance(FunctionalInterface functionalImplementation,
                             ComponentConfiguration componentConfiguration,
                             ComponentProxyInvocationHandler proxyInvocationHandler,
                             Configuration decoratorConfiguration)

Constructs Lifecycle 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.