org.hippoecm.hst.pagecomposer.configuration.model
Class ComposerMountAndVirtualHostAugmenter

java.lang.Object
  extended by org.hippoecm.hst.pagecomposer.configuration.model.ComposerMountAndVirtualHostAugmenter
All Implemented Interfaces:
HstConfigurationAugmenter

public class ComposerMountAndVirtualHostAugmenter
extends Object
implements HstConfigurationAugmenter


Constructor Summary
ComposerMountAndVirtualHostAugmenter()
           
 
Method Summary
 void augment(HstManager manager)
          Every virtual hostgroup that has a hst:cmslocation property defined we try to add the correct composerMount for.
 void setComposerMountName(String composerMountName)
           
 void setComposerMountNamedPipeline(String composerMountNamedPipeline)
           
 void setNoopPipeline(String noopPipeline)
           
 void setSpringConfiguredCmsLocation(String springConfiguredCmsLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComposerMountAndVirtualHostAugmenter

public ComposerMountAndVirtualHostAugmenter()
Method Detail

setSpringConfiguredCmsLocation

public void setSpringConfiguredCmsLocation(String springConfiguredCmsLocation)

setComposerMountName

public void setComposerMountName(String composerMountName)

setComposerMountNamedPipeline

public void setComposerMountNamedPipeline(String composerMountNamedPipeline)

setNoopPipeline

public void setNoopPipeline(String noopPipeline)

augment

public void augment(HstManager manager)
             throws RepositoryNotAvailableException
Every virtual hostgroup that has a hst:cmslocation property defined we try to add the correct composerMount for. If there is no hst:cmslocation defined on the virtual hostgroup, then we check whether there is cmslocation define by ContainerConfiguration#getString(ContainerConstants.CMS_LOCATION) : This is a deprecated way to configure the cmslocation

Specified by:
augment in interface HstConfigurationAugmenter
Throws:
RepositoryNotAvailableException


Copyright © 2008-2012 Hippo. All Rights Reserved.