Package org.cyclos.impl
Class InvocationContext.ConversionContext
- java.lang.Object
-
- org.cyclos.impl.InvocationContext.ConversionContext
-
- Enclosing class:
- InvocationContext
public static class InvocationContext.ConversionContext extends Object
Contains the context used for bean conversion within an invocation
-
-
Constructor Summary
Constructors Constructor Description ConversionContext(InvocationContext invocationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvocationContextgetInvocationContext()ObjectgetProcessed(Object source, Class<?> toType, Object[] excludingProperties)Returns the already processed conversion from the given source object to the given typeSessionDatagetSessionData()voidregisterProcessed(Object source, Object object, Object[] excludingProperties)Registers the given object (and its excluded properties) as processed for the conversion from the given source objectBeanWrapperwrap(Object bean)Wraps the given bean under aBeanWrapper
-
-
-
Constructor Detail
-
ConversionContext
public ConversionContext(InvocationContext invocationContext)
-
-
Method Detail
-
getInvocationContext
public InvocationContext getInvocationContext()
-
getProcessed
public Object getProcessed(Object source, Class<?> toType, Object[] excludingProperties)
Returns the already processed conversion from the given source object to the given type
-
getSessionData
public SessionData getSessionData()
-
registerProcessed
public void registerProcessed(Object source, Object object, Object[] excludingProperties)
Registers the given object (and its excluded properties) as processed for the conversion from the given source object
-
wrap
public BeanWrapper wrap(Object bean)
Wraps the given bean under aBeanWrapper
-
-