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.


Field Summary
 
Fields inherited from class info.magnolia.objectfactory.ObservedComponentFactory
interf, observedObject
 
Constructor Summary
ServerConfiguration.InstanceFactory()
           
 
Method Summary
protected  ServerConfiguration transformNode(Content node)
           
 
Methods inherited from class info.magnolia.objectfactory.ObservedComponentFactory
getComponentType, getContent2BeanTransformer, getObservedObject, instantiateDefault, isConcrete, load, newInstance, onEvent, onRegister, reload, 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(Content node)
                                     throws Content2BeanException
Overrides:
transformNode in class ObservedComponentFactory<ServerConfiguration>
Throws:
Content2BeanException


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.