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

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

public class InterceptorFactory
extends java.lang.Object
implements Configurable

Version:
$Id: $
Author:
Thomas Mahler

Constructor Summary
InterceptorFactory()
           
 
Method Summary
 java.lang.Class[] computeInterfaceArrayFor(java.lang.Class clazz)
           
 void configure(Configuration pConfig)
          configure an object using the Configuration pConfig
 java.lang.Object createInterceptorFor(java.lang.Object instanceToIntercept)
           
static InterceptorFactory getInstance()
          Returns the instance.
 java.lang.Class getInterceptorClassToBeUsed()
          Returns the interceptorClassToBeUsed.
 void setInterceptorClassToBeUsed(java.lang.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 java.lang.Object createInterceptorFor(java.lang.Object instanceToIntercept)

computeInterfaceArrayFor

public java.lang.Class[] computeInterfaceArrayFor(java.lang.Class clazz)

getInterceptorClassToBeUsed

public java.lang.Class getInterceptorClassToBeUsed()
Returns the interceptorClassToBeUsed.

Returns:
Class

setInterceptorClassToBeUsed

public void setInterceptorClassToBeUsed(java.lang.Class interceptorClassToBeUsed)
Sets the interceptorClassToBeUsed.

Parameters:
interceptorClassToBeUsed - The interceptorClassToBeUsed to set


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14