ch.elca.el4j.services.exceptionhandler
Class ContextExceptionHandlerFactoryBean
java.lang.Object
org.springframework.aop.framework.ProxyConfig
org.springframework.aop.framework.AdvisedSupport
org.springframework.aop.framework.ProxyCreatorSupport
ch.elca.el4j.services.exceptionhandler.AbstractExceptionHandlerFactoryBean
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
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 |
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).
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.