ch.elca.el4j.services.exceptionhandler
Class ContextExceptionHandlerFactoryBean

java.lang.Object
  extended by org.springframework.aop.framework.ProxyConfig
      extended by org.springframework.aop.framework.AdvisedSupport
          extended by org.springframework.aop.framework.ProxyCreatorSupport
              extended by ch.elca.el4j.services.exceptionhandler.AbstractExceptionHandlerFactoryBean
                  extended by ch.elca.el4j.services.exceptionhandler.ContextExceptionHandlerFactoryBean
All Implemented Interfaces:
Serializable, Advised, TargetClassAware, FactoryBean, InitializingBean

public class ContextExceptionHandlerFactoryBean
extends AbstractExceptionHandlerFactoryBean

Convenience factory that simplifies the creation of context exception handlers.

Author:
Andreas Bur (ABU)
See Also:
Serialized Form
File-location:
ContextExceptionHandlerFactoryBean
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Field Summary
 
Fields inherited from class org.springframework.aop.framework.AdvisedSupport
EMPTY_TARGET_SOURCE
 
Constructor Summary
ContextExceptionHandlerFactoryBean()
          Default Constructor.
 
Method Summary
 void afterPropertiesSet()
          
protected  AbstractExceptionHandlerInterceptor createExceptionHandlerInterceptor()
          
 void setPolicies(Map policies)
           
 
Methods inherited from class ch.elca.el4j.services.exceptionhandler.AbstractExceptionHandlerFactoryBean
createTargetSource, getObject, getObjectType, isSingleton, setDefaultBehaviourConsume, setForwardSignatureExceptions, setHandleRTSignatureExceptions, setSingleton, setTarget
 
Methods inherited from class org.springframework.aop.framework.ProxyCreatorSupport
addListener, adviceChanged, createAopProxy, getAopProxyFactory, isActive, removeListener, setAopProxyFactory
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.aop.framework.Advised
isExposeProxy, isFrozen, isProxyTargetClass, setExposeProxy
 

Constructor Detail

ContextExceptionHandlerFactoryBean

public ContextExceptionHandlerFactoryBean()
Default Constructor. Configures the proxy to handle only those exceptions that are not defined in the signature (excluding unchecked exceptions, which are handled always).

Method Detail

setPolicies

public void setPolicies(Map policies)
See Also:
ContextExceptionHandlerInterceptor.setPolicies(Map)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface InitializingBean
Overrides:
afterPropertiesSet in class AbstractExceptionHandlerFactoryBean
Throws:
Exception

createExceptionHandlerInterceptor

protected AbstractExceptionHandlerInterceptor createExceptionHandlerInterceptor()

Specified by:
createExceptionHandlerInterceptor in class AbstractExceptionHandlerFactoryBean
Returns:
Returns the exception handler interceptor that is installed in the proxy created by this factory.


Copyright © 2005-2011 ELCA. All Rights Reserved.