public class ConvertersConfigurationInitializer extends java.lang.Object implements org.springframework.context.ApplicationContextAware, GrailsApplicationAware, org.springframework.beans.factory.InitializingBean
Modifiers | Name | Description |
---|---|---|
org.apache.commons.logging.Log |
LOG |
|
static java.lang.String |
SETTING_CONVERTERS_CIRCULAR_REFERENCE_BEHAVIOUR |
|
static java.lang.String |
SETTING_CONVERTERS_ENCODING |
|
static java.lang.String |
SETTING_CONVERTERS_JSON_CACHE_OBJECTS |
|
static java.lang.String |
SETTING_CONVERTERS_JSON_CIRCULAR_REFERENCE_BEHAVIOUR |
|
static java.lang.String |
SETTING_CONVERTERS_JSON_DATE |
|
static java.lang.String |
SETTING_CONVERTERS_JSON_DEFAULT_DEEP |
|
static java.lang.String |
SETTING_CONVERTERS_JSON_PRETTY_PRINT |
|
static java.lang.String |
SETTING_CONVERTERS_PRETTY_PRINT |
|
static java.lang.String |
SETTING_CONVERTERS_XML_DEEP |
|
private org.springframework.context.ApplicationContext |
applicationContext |
|
private GrailsApplication |
grailsApplication |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
afterPropertiesSet() |
|
public org.springframework.context.ApplicationContext |
getApplicationContext() |
|
private Config |
getGrailsConfig() |
<C extends Converter> |
private java.util.List<ObjectMarshaller<C>> |
getPreviouslyConfiguredMarshallers(java.lang.Class<C> converterClass) |
|
private ProxyHandler |
getProxyHandler() |
|
private boolean |
includeDomainClassProperty(Config grailsConfig, java.lang.String converterType) |
|
private boolean |
includeDomainVersionProperty(Config grailsConfig, java.lang.String converterType) |
|
private void |
initDeepJSONConfiguration() |
|
private void |
initDeepXMLConfiguration() |
|
private void |
initJSONConfiguration() |
|
private void |
initXMLConfiguration() |
|
public void |
initialize() |
<C extends Converter> |
private void |
registerObjectMarshallersFromApplicationContext(DefaultConverterConfiguration<C> cfg, java.lang.Class<C> converterClass) |
|
public void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
|
public void |
setGrailsApplication(GrailsApplication grailsApplication) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |