Class BeansDeserializer

java.lang.Object
org.apache.camel.dsl.yaml.common.YamlDeserializerSupport
org.apache.camel.dsl.yaml.deserializers.BeansDeserializer
All Implemented Interfaces:
org.snakeyaml.engine.v2.api.ConstructNode

public class BeansDeserializer extends org.apache.camel.dsl.yaml.common.YamlDeserializerSupport implements org.snakeyaml.engine.v2.api.ConstructNode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    bindBean(org.apache.camel.CamelContext camelContext, org.apache.camel.model.app.RegistryBeanDefinition def, String name, Object target)
     
    void
     
    construct(org.snakeyaml.engine.v2.nodes.Node node)
     
    protected void
    destroyBean(String name, boolean remove)
     
    newInstance(org.apache.camel.model.app.RegistryBeanDefinition def, org.apache.camel.CamelContext context)
     
    protected void
    registerBean(org.apache.camel.CamelContext camelContext, List<org.apache.camel.model.app.RegistryBeanDefinition> delayedRegistrations, org.apache.camel.model.app.RegistryBeanDefinition def, boolean delayIfFailed)
     
    void
     

    Methods inherited from class org.apache.camel.dsl.yaml.common.YamlDeserializerSupport

    asBoolean, asByteArray, asByteArray, asClass, asClass, asClassArray, asCollection, asDouble, asEndpoint, asEndpoint, asEnum, asFlatCollection, asFlatList, asFlatSet, asInt, asList, asLong, asMap, asMappingNode, asScalarMap, asSequenceNode, asStringList, asStringList, asStringSet, asStringSet, asText, asType, enumConverter, getDeserializationContext, isSequenceNode, nodeAt, parseParameters, setDeserializationContext, setSteps

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.snakeyaml.engine.v2.api.ConstructNode

    constructRecursive
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
  • Constructor Details

    • BeansDeserializer

      public BeansDeserializer()
  • Method Details

    • construct

      public Object construct(org.snakeyaml.engine.v2.nodes.Node node)
      Specified by:
      construct in interface org.snakeyaml.engine.v2.api.ConstructNode
    • clearCache

      public void clearCache()
    • newInstance

      public Object newInstance(org.apache.camel.model.app.RegistryBeanDefinition def, org.apache.camel.CamelContext context) throws Exception
      Throws:
      Exception
    • registerBean

      protected void registerBean(org.apache.camel.CamelContext camelContext, List<org.apache.camel.model.app.RegistryBeanDefinition> delayedRegistrations, org.apache.camel.model.app.RegistryBeanDefinition def, boolean delayIfFailed)
    • bindBean

      protected void bindBean(org.apache.camel.CamelContext camelContext, org.apache.camel.model.app.RegistryBeanDefinition def, String name, Object target) throws Exception
      Throws:
      Exception
    • destroyBean

      protected void destroyBean(String name, boolean remove)
    • stop

      public void stop() throws Exception
      Throws:
      Exception