ch.elca.el4j.services.exceptionhandler
Class AbstractExceptionHandlerFactoryBean
java.lang.Object
  
org.springframework.aop.framework.ProxyConfig
      
org.springframework.aop.framework.AdvisedSupport
          
org.springframework.aop.framework.ProxyCreatorSupport
              
ch.elca.el4j.services.exceptionhandler.AbstractExceptionHandlerFactoryBean
- All Implemented Interfaces: 
 - Serializable, Advised, TargetClassAware, FactoryBean, InitializingBean
 
- Direct Known Subclasses: 
 - ContextExceptionHandlerFactoryBean, SafetyFacadeFactoryBean
 
public abstract class AbstractExceptionHandlerFactoryBean
- extends ProxyCreatorSupport
- implements FactoryBean, InitializingBean
  
Convenience factory to create exception handler proxies.
- Author:
 
  - Andreas Bur (ABU)
 
- See Also:
 - Serialized Form
 - File-location:
 - AbstractExceptionHandlerFactoryBean
 - Last check-in date:
 - 2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009)  by  swismer  for revision  3873 
 
 
 
 
 
 
| Methods inherited from class org.springframework.aop.framework.AdvisedSupport | 
addAdvice, addAdvice, addAdvisor, addAdvisor, addAdvisors, addAdvisors, addAllAdvisors, addInterface, adviceIncluded, copyConfigurationFrom, copyConfigurationFrom, countAdvicesOfType, getAdvisorChainFactory, getAdvisors, getAdvisorsInternal, getInterceptorsAndDynamicInterceptionAdvice, getProxiedInterfaces, getTargetClass, getTargetSource, indexOf, indexOf, isInterfaceProxied, isPreFiltered, removeAdvice, removeAdvisor, removeAdvisor, removeInterface, replaceAdvisor, setAdvisorChainFactory, setInterfaces, setPreFiltered, setTargetClass, setTargetSource, toProxyConfigString, toString, updateAdvisorArray | 
 
| Methods inherited from class org.springframework.aop.framework.ProxyConfig | 
copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass | 
 
 
 
AbstractExceptionHandlerFactoryBean
public AbstractExceptionHandlerFactoryBean()
setTarget
public void setTarget(Object target)
- Sets the proxy's target, which is either the target bean or an instance
 of 
TargetSource.
- Overrides:
 setTarget in class AdvisedSupport
 
- Parameters:
 target - The target to set.
 
 
setDefaultBehaviourConsume
public void setDefaultBehaviourConsume(boolean defaultBehaviourConsume)
 
- See Also:
 AbstractExceptionHandlerInterceptor.setDefaultBehaviourConsume(boolean)
 
setForwardSignatureExceptions
public void setForwardSignatureExceptions(boolean forwardSignatureExceptions)
 
- See Also:
 AbstractExceptionHandlerInterceptor.setForwardSignatureExceptions(boolean)
 
setHandleRTSignatureExceptions
public void setHandleRTSignatureExceptions(boolean handleRTSignatureExceptions)
 
- See Also:
 AbstractExceptionHandlerInterceptor.setHandleRTSignatureExceptions(boolean)
 
setSingleton
public void setSingleton(boolean singleton)
- Sets whether the factory returns a singleton proxy.
 
- Parameters:
 singleton - Whether to create a singleton proxy.
 
 
afterPropertiesSet
public void afterPropertiesSet()
                        throws Exception
- 
- Specified by:
 afterPropertiesSet in interface InitializingBean
 
- Throws:
 Exception
 
 
getObject
public Object getObject()
                 throws Exception
- 
- Specified by:
 getObject in interface FactoryBean
 
- Throws:
 Exception
 
 
getObjectType
public Class getObjectType()
- 
- Specified by:
 getObjectType in interface FactoryBean
 
 
 
isSingleton
public boolean isSingleton()
- 
- Specified by:
 isSingleton in interface FactoryBean
 
 
 
createTargetSource
protected TargetSource createTargetSource(Object target)
- Creates a TargetSource for the given object or just casts it, if it's
 already a TargetSoucre.
 
- Parameters:
 target - The object to wrap into a TargetSource.
- Returns:
 - Returns a TargetSource pointing to the given target parameter.
 
 
 
createExceptionHandlerInterceptor
protected abstract AbstractExceptionHandlerInterceptor createExceptionHandlerInterceptor()
 
- Returns:
 - Returns the exception handler interceptor that is installed in
      the proxy created by this factory.
 
 
Copyright © 2005-2011 ELCA. All Rights Reserved.