org.jboss.solder.exception.control
Class OutboundParameterValueRedefiner
java.lang.Object
org.jboss.solder.exception.control.OutboundParameterValueRedefiner
- All Implemented Interfaces:
- ParameterValueRedefiner
public class OutboundParameterValueRedefiner
- extends Object
- implements ParameterValueRedefiner
Redefiner allowing to inject a non contextual instance of CaughtException into the first parameter. This
class is immutable.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutboundParameterValueRedefiner
public OutboundParameterValueRedefiner(org.jboss.solder.exception.control.CaughtException<?> event,
javax.enterprise.inject.spi.BeanManager manager,
HandlerMethodImpl<?> handler)
- Sole constructor.
- Parameters:
event - instance of CaughtException to inject.manager - active BeanManagerhandler - Handler method this redefiner is for
redefineParameterValue
public Object redefineParameterValue(ParameterValueRedefiner.ParameterValue value)
- Callback allowing the default parameter value (that which would be
injected according to the CDI type safe resolution rules) to be
overridden.
- Specified by:
redefineParameterValue in interface ParameterValueRedefiner
- Parameters:
value - the default value
- Returns:
- the overridden value
Copyright © 2008-2011 Seam Framework. All Rights Reserved.