Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * $Id: JsonNamespaceHandler.java 19191 2010-08-25 21:05:23Z tcarlson $
  * --------------------------------------------------------------------------------------
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
  *
  * The software in this package is published under the terms of the CPAL v1.0
  * license, a copy of which has been included with this distribution in the
  * LICENSE.txt file.
  */
package org.mule.module.json.config;
Registers a Bean Definition Parser for handling elements defined in META-INF/mule-json.xsd
    public void init()
    {
        registerBeanDefinitionParser("is-json-filter"new FilterDefinitionParser(IsJsonFilter.class));
        registerBeanDefinitionParser("object-to-json-transformer"new MessageProcessorDefinitionParser(ObjectToJson.class));
        registerBeanDefinitionParser("json-to-object-transformer"new MessageProcessorDefinitionParser(JsonToObject.class));
        registerBeanDefinitionParser("serialization-mixin"new ChildMapEntryDefinitionParser("serializationMixins""targetClass""mixinClass"));
        registerBeanDefinitionParser("deserialization-mixin"new ChildMapEntryDefinitionParser("deserializationMixins""targetClass""mixinClass"));
        registerBeanDefinitionParser("mixin"new ChildMapEntryDefinitionParser("mixins""targetClass""mixinClass"));
        registerBeanDefinitionParser("mapper"new OrphanDefinitionParser(MapperFactoryBean.classtrue));
    }
New to GrepCode? Check out our FAQ X