org.milyn.edisax.registry
Class LazyMappingsRegistry

java.lang.Object
  extended by org.milyn.edisax.registry.AbstractMappingsRegistry
      extended by org.milyn.edisax.registry.LazyMappingsRegistry
All Implemented Interfaces:
MappingsRegistry

public class LazyMappingsRegistry
extends AbstractMappingsRegistry

Mappings registry that lazily loading UN/EDIFACT mappings out of the classpath.

Author:
zubairov

Field Summary
 
Fields inherited from class org.milyn.edisax.registry.AbstractMappingsRegistry
content
 
Constructor Summary
LazyMappingsRegistry()
           
 
Method Summary
protected  Map<String,EdifactModel> demandLoading(String[] nameComponents)
          Loading mapping models on demand.
 
Methods inherited from class org.milyn.edisax.registry.AbstractMappingsRegistry
getMappingModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyMappingsRegistry

public LazyMappingsRegistry()
Method Detail

demandLoading

protected Map<String,EdifactModel> demandLoading(String[] nameComponents)
                                          throws EDIConfigurationException,
                                                 IOException,
                                                 SAXException
Description copied from class: AbstractMappingsRegistry
Loading mapping models on demand. This method should return either one or many mapping models loaded on-demand or just eagerly.

Specified by:
demandLoading in class AbstractMappingsRegistry
Returns:
Throws:
EDIConfigurationException
IOException
SAXException


Copyright © 2011. All Rights Reserved.