de.ispsoft.jaxme
Class JMManagerFactoryLIImpl

java.lang.Object
  extended byde.ispsoft.jaxme.jaxb.JAXBContext
      extended byde.ispsoft.jaxme.JMManagerFactoryImpl
          extended byde.ispsoft.jaxme.JMManagerFactoryLIImpl
All Implemented Interfaces:
JMManagerFactory

public class JMManagerFactoryLIImpl
extends JMManagerFactoryImpl
implements JMManagerFactory

This is an alternative implementation for a JMManagerFactory. Unlike the default factory, this one has lazy instantiation: A Manager is only instantiated on demand. This approach has the advantage of a faster startup at the cost of slower access to the managers, because the accessor methods need synchronization.

To make use of this factory, set the system property de.ispsoft.jaxme.JMManagerFactory to de.ispsoft.jaxme.JMManagerFactoryLIImpl or use a different scheme of factory selection, as described in JMFactory.

Author:
Jochen Wiedmann

Field Summary
 
Fields inherited from class de.ispsoft.jaxme.JMManagerFactoryImpl
CONFIGURATION_NAME, configurations, defaults, DEFAULTS_NAME, LOCAL_NAME, LOCALNAME_ATTRIBUTE, MANAGER_CLASS_NAME, managers, NAMESPACE_URI, NAMESPACE_URI_ATTRIBUTE, schemaPath
 
Fields inherited from class de.ispsoft.jaxme.jaxb.JAXBContext
JAXB_CONTEXT_FACTORY
 
Constructor Summary
JMManagerFactoryLIImpl()
           
 
Methods inherited from class de.ispsoft.jaxme.JMManagerFactoryImpl
createMarshaller, createUnmarshaller, createValidator, getConfiguration, getDefaults, getLazyInstantiation, getManager, getManager, getNodeText, getSchemaPath, init, parseConfiguration, setLazyInstantiation, setSchemaPath, setURI
 
Methods inherited from class de.ispsoft.jaxme.jaxb.JAXBContext
newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.ispsoft.jaxme.JMManagerFactory
getConfiguration, getDefaults, getManager, setURI
 

Constructor Detail

JMManagerFactoryLIImpl

public JMManagerFactoryLIImpl()