public abstract class ValueSetter extends Object
Sometimes values are returned as a return value, and
others are returned in the Holder
value. Instances
of this interface abstracts this detail.
ValueSetter
is a stateless behavior encapsulation.
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ValueSetter.AsyncBeanValueSetter
OUT parameters are set in async bean
|
(package private) static class |
ValueSetter.Param |
Modifier and Type | Field and Description |
---|---|
(package private) static ValueSetter |
SINGLE_VALUE
Singleton instance.
|
Modifier and Type | Method and Description |
---|---|
(package private) static ValueSetter |
getSync(ParameterImpl p)
Returns a
ValueSetter suitable for the given Parameter . |
(package private) abstract Object |
put(Object obj,
Object[] args)
Moves the value to the expected place.
|
static final ValueSetter SINGLE_VALUE
abstract Object put(Object obj, Object[] args)
obj
- The unmarshalled object.args
- The arguments given to the Java method invocation. If obj
is supposed to be returned as a Holder
value, a suitable
Holder
is obtained from this argument list and obj
is set.static ValueSetter getSync(ParameterImpl p)
ValueSetter
suitable for the given Parameter
.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.