public class ConvertersApi
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
ConvertersApi() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
asType(java.lang.Object instance,
java.lang.Class<?> clazz)
Converter an instance from one format to another
|
org.springframework.context.ApplicationContext |
getApplicationContext() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public java.lang.Object asType(java.lang.Object instance,
java.lang.Class<?> clazz)
instance - The instanceclazz - The type to convert topublic org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansException