org.apache.lenya.cms.publication.templating
Class PublicationTemplateManagerImpl.ExistingServiceVisitor

java.lang.Object
  extended by org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl.ExistingServiceVisitor
All Implemented Interfaces:
org.apache.lenya.cms.publication.templating.PublicationVisitor
Enclosing class:
PublicationTemplateManagerImpl

public class PublicationTemplateManagerImpl.ExistingServiceVisitor
extends java.lang.Object
implements org.apache.lenya.cms.publication.templating.PublicationVisitor

Searches for a declared service of the form "publicationId/service".


Constructor Summary
PublicationTemplateManagerImpl.ExistingServiceVisitor(org.apache.avalon.framework.service.ServiceSelector selector, java.lang.Object hint, org.apache.avalon.framework.logger.Logger logger)
          Ctor.
 
Method Summary
 java.lang.Object getSelectableHint()
           
 void visit(org.apache.lenya.cms.publication.Publication publication)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicationTemplateManagerImpl.ExistingServiceVisitor

public PublicationTemplateManagerImpl.ExistingServiceVisitor(org.apache.avalon.framework.service.ServiceSelector selector,
                                                             java.lang.Object hint,
                                                             org.apache.avalon.framework.logger.Logger logger)
Ctor.

Parameters:
selector - The service selector to use.
hint - The hint to check.
logger - The logger.
Method Detail

visit

public void visit(org.apache.lenya.cms.publication.Publication publication)
Specified by:
visit in interface org.apache.lenya.cms.publication.templating.PublicationVisitor
See Also:
PublicationVisitor.visit(org.apache.lenya.cms.publication.Publication)

getSelectableHint

public java.lang.Object getSelectableHint()
Returns:
The publication hint that could be selected or null if no hint could be selected.


Copyright $ Apache Software Foundation. All Rights Reserved.