2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.databinding.javabeans
Class JavaBeansDataBinding
java.lang.Object
org.apache.tuscany.sca.databinding.impl.BaseDataBinding
org.apache.tuscany.sca.databinding.javabeans.JavaBeansDataBinding
- All Implemented Interfaces:
- DataBinding
- Direct Known Subclasses:
- JavaExceptionDataBinding
public class JavaBeansDataBinding
- extends BaseDataBinding
DataBinding for JavaBeans
Field Summary |
static int |
HEAVY_WEIGHT
Defining a weight to a very high number so that the transformer won't be picked
up by other paths unless it's the only available path |
static java.lang.String |
NAME
|
Method Summary |
java.lang.Object |
copy(java.lang.Object arg,
DataType dataType,
Operation operation)
Make a copy of the object for "pass-by-value" semantics. |
protected java.io.ObjectInputStream |
getObjectInputStream(java.io.InputStream is,
java.lang.ClassLoader cl)
|
protected java.io.ObjectOutputStream |
getObjectOutputStream(java.io.OutputStream os)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEAVY_WEIGHT
public static final int HEAVY_WEIGHT
- Defining a weight to a very high number so that the transformer won't be picked
up by other paths unless it's the only available path
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
JavaBeansDataBinding
public JavaBeansDataBinding()
JavaBeansDataBinding
protected JavaBeansDataBinding(java.lang.String name,
java.lang.Class<?> baseType)
copy
public java.lang.Object copy(java.lang.Object arg,
DataType dataType,
Operation operation)
- Description copied from interface:
DataBinding
- Make a copy of the object for "pass-by-value" semantics.
- Specified by:
copy
in interface DataBinding
- Overrides:
copy
in class BaseDataBinding
- Parameters:
arg
- source object to copydataType
- The data typeoperation
- The operation
- Returns:
- copy of the object passed in as argument
getObjectOutputStream
protected java.io.ObjectOutputStream getObjectOutputStream(java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
getObjectInputStream
protected java.io.ObjectInputStream getObjectInputStream(java.io.InputStream is,
java.lang.ClassLoader cl)
throws java.io.IOException
- Throws:
java.io.IOException