org.apache.cocoon.sitemap
Class SitemapComponentSelector

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.avalon.excalibur.component.ExcaliburComponentSelector
              |
              +--org.apache.cocoon.sitemap.SitemapComponentSelector
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.ComponentSelector, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.excalibur.logger.LogKitManageable, org.apache.avalon.excalibur.component.RoleManageable, org.apache.avalon.framework.thread.ThreadSafe

public class SitemapComponentSelector
extends org.apache.avalon.excalibur.component.ExcaliburComponentSelector

Default component manager for Cocoon's sitemap components.

Version:
CVS $Id: SitemapComponentSelector.java,v 1.2.2.11 2001/10/11 08:56:15 cziegeler Exp $
Author:
Berin Loritsch, Giacomo Pati

Fields inherited from class org.apache.avalon.excalibur.component.ExcaliburComponentSelector
m_context
 
Constructor Summary
SitemapComponentSelector()
          The conctructors (same as the Avalon ComponentManager)
 
Method Summary
protected  void addSitemapComponent(java.lang.Object hint, java.lang.Class component, org.apache.avalon.framework.configuration.Configuration conf, java.lang.String mime_type)
           
 java.lang.String getMimeTypeForRole(java.lang.String role)
           
 void initialize()
           
 void release(org.apache.avalon.framework.component.Component component)
           
 org.apache.avalon.framework.component.Component select(java.lang.Object hint)
           
 void setParentSelector(SitemapComponentSelector newSelector)
           
 
Methods inherited from class org.apache.avalon.excalibur.component.ExcaliburComponentSelector
addComponent, addComponentInstance, compose, configure, contextualize, dispose, hasComponent, setLogKitManager, setRoleManager
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitemapComponentSelector

public SitemapComponentSelector()
The conctructors (same as the Avalon ComponentManager)
Method Detail

setParentSelector

public void setParentSelector(SitemapComponentSelector newSelector)

select

public org.apache.avalon.framework.component.Component select(java.lang.Object hint)
                                                       throws org.apache.avalon.framework.component.ComponentException
Overrides:
select in class org.apache.avalon.excalibur.component.ExcaliburComponentSelector

release

public void release(org.apache.avalon.framework.component.Component component)
Overrides:
release in class org.apache.avalon.excalibur.component.ExcaliburComponentSelector

initialize

public void initialize()
Overrides:
initialize in class org.apache.avalon.excalibur.component.ExcaliburComponentSelector

getMimeTypeForRole

public java.lang.String getMimeTypeForRole(java.lang.String role)

addSitemapComponent

protected void addSitemapComponent(java.lang.Object hint,
                                   java.lang.Class component,
                                   org.apache.avalon.framework.configuration.Configuration conf,
                                   java.lang.String mime_type)
                            throws org.apache.avalon.framework.component.ComponentException,
                                   org.apache.avalon.framework.configuration.ConfigurationException


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.