org.apache.ojb.broker.util.interceptor
Class InterceptorFactory

java.lang.Object
  extended by org.apache.ojb.broker.util.interceptor.InterceptorFactory
All Implemented Interfaces:
Configurable

public class InterceptorFactory
extends Object
implements Configurable

Version:
$Id: InterceptorFactory.java,v 1.1 2007-08-24 22:17:39 ewestfal Exp $
Author:
Thomas Mahler

Constructor Summary
InterceptorFactory()
           
 
Method Summary
 Class[] computeInterfaceArrayFor(Class clazz)
           
 void configure(Configuration pConfig)
          configure an object using the Configuration pConfig
 Object createInterceptorFor(Object instanceToIntercept)
           
static InterceptorFactory getInstance()
          Returns the instance.
 Class getInterceptorClassToBeUsed()
          Returns the interceptorClassToBeUsed.
 void setInterceptorClassToBeUsed(Class interceptorClassToBeUsed)
          Sets the interceptorClassToBeUsed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorFactory

public InterceptorFactory()
Method Detail

getInstance

public static InterceptorFactory getInstance()
Returns the instance.

Returns:
InterceptorFactory

configure

public void configure(Configuration pConfig)
               throws ConfigurationException
Description copied from interface: Configurable
configure an object using the Configuration pConfig

Specified by:
configure in interface Configurable
Parameters:
pConfig - the Configuration object used to configure current instance
Throws:
ConfigurationException
See Also:
Configurable.configure(Configuration)

createInterceptorFor

public Object createInterceptorFor(Object instanceToIntercept)

computeInterfaceArrayFor

public Class[] computeInterfaceArrayFor(Class clazz)

getInterceptorClassToBeUsed

public Class getInterceptorClassToBeUsed()
Returns the interceptorClassToBeUsed.

Returns:
Class

setInterceptorClassToBeUsed

public void setInterceptorClassToBeUsed(Class interceptorClassToBeUsed)
Sets the interceptorClassToBeUsed.

Parameters:
interceptorClassToBeUsed - The interceptorClassToBeUsed to set


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.