net.sf.tie.ext.spring
Class TieFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by net.sf.tie.ext.spring.TieFactoryBean
All Implemented Interfaces:
FactoryBean, InitializingBean

public class TieFactoryBean
extends AbstractFactoryBean

An immplementation of the spring class FactoryBean to support using a tie MethodInterceptorStack to proxy another class into a spring BeanFactory.

See Also:
TieBeanDefinition

Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
TieFactoryBean()
           
 
Method Summary
protected  Object createInstance()
           
 Class getObjectType()
           
 void setEndPoint(Object endPoint)
           
 void setInjector(InterceptionInjector injector)
           
 void setInterceptionStack(MethodInterceptorStack stack)
           
 void setInterface(Class type)
           
 void setInterfaceName(String typeName)
           
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, getObject, isSingleton, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TieFactoryBean

public TieFactoryBean()
Method Detail

setInjector

public void setInjector(InterceptionInjector injector)

setInterceptionStack

public void setInterceptionStack(MethodInterceptorStack stack)

setInterface

public void setInterface(Class type)

setInterfaceName

public void setInterfaceName(String typeName)
                      throws ClassNotFoundException
Throws:
ClassNotFoundException

setEndPoint

public void setEndPoint(Object endPoint)

getObjectType

public Class getObjectType()

createInstance

protected Object createInstance()
                         throws Exception
Specified by:
createInstance in class AbstractFactoryBean
Throws:
Exception