info.magnolia.cms.beans.config
Class ServerConfiguration.InstanceFactory

java.lang.Object
  extended by info.magnolia.objectfactory.ObservedComponentFactory<ServerConfiguration>
      extended by 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.


Constructor Summary
ServerConfiguration.InstanceFactory()
           
 
Method Summary
protected  ServerConfiguration transformNode(javax.jcr.Node node)
           
 
Methods inherited from class info.magnolia.objectfactory.ObservedComponentFactory
getComponentType, getExposedInterfaces, getNode2BeanTransformer, getObservedObject, instantiateDefault, isConcrete, load, newInstance, onEvent, onRegister, reload, setObservedObject, startObservation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerConfiguration.InstanceFactory

public ServerConfiguration.InstanceFactory()
Method Detail

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-2014 Magnolia International Ltd.. All Rights Reserved.