info.magnolia.cms.beans.config
Class ServerConfiguration.InstanceFactory
java.lang.Object
info.magnolia.objectfactory.ObservedComponentFactory<ServerConfiguration>
info.magnolia.cms.beans.config.ServerConfiguration.InstanceFactory
- All Implemented Interfaces:
- ComponentFactory<ServerConfiguration>, javax.jcr.observation.EventListener
- Enclosing class:
- ServerConfiguration
public static final class ServerConfiguration.InstanceFactory
- extends ObservedComponentFactory<ServerConfiguration>
A special instance factory preventing recursive instantiation. The server configuration contains sub-nodes but only the direct properties belong to the server configuration bean.
Methods inherited from class info.magnolia.objectfactory.ObservedComponentFactory |
getComponentType, getNode2BeanTransformer, getObservedObject, instantiateDefault, isConcrete, load, newInstance, onEvent, onRegister, reload, startObservation, toString |
ServerConfiguration.InstanceFactory
public ServerConfiguration.InstanceFactory()
transformNode
protected ServerConfiguration transformNode(javax.jcr.Node node)
throws Node2BeanException,
javax.jcr.RepositoryException
- Overrides:
transformNode
in class ObservedComponentFactory<ServerConfiguration>
- Throws:
Node2BeanException
javax.jcr.RepositoryException
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.