org.apache.lenya.cms.usecase.impl
Class UsecaseSelector

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.avalon.excalibur.component.AbstractDualLogEnabled
          extended by org.apache.avalon.excalibur.component.ExcaliburComponentSelector
              extended by org.apache.cocoon.components.ExtendedComponentSelector
                  extended by org.apache.lenya.cms.usecase.impl.UsecaseSelector
All Implemented Interfaces:
org.apache.avalon.excalibur.component.RoleManageable, org.apache.avalon.excalibur.logger.LoggerManageable, org.apache.avalon.excalibur.logger.LogKitManageable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.activity.Startable, 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.logger.LogEnabled, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, org.apache.cocoon.components.ParentAware, org.apache.excalibur.instrument.Instrumentable, org.apache.excalibur.instrument.InstrumentManageable

public class UsecaseSelector
extends org.apache.cocoon.components.ExtendedComponentSelector
implements org.apache.avalon.framework.thread.ThreadSafe, org.apache.avalon.framework.activity.Startable, org.apache.avalon.framework.service.Serviceable

Usecase selector.


Field Summary
 
Fields inherited from class org.apache.cocoon.components.ExtendedComponentSelector
classLoader, defaultHint, parentLocator, parentSelector, roleName, roles
 
Fields inherited from class org.apache.avalon.excalibur.component.ExcaliburComponentSelector
m_context
 
Fields inherited from interface org.apache.excalibur.instrument.Instrumentable
EMPTY_INSTRUMENT_ARRAY, EMPTY_INSTRUMENTABLE_ARRAY
 
Constructor Summary
UsecaseSelector()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration config)
           
 java.lang.String[] getUsecaseNames()
           
 void service(org.apache.avalon.framework.service.ServiceManager manager)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.apache.cocoon.components.ExtendedComponentSelector
canRelease, dispose, getClassAttributeName, getComponentInstanceName, getDefaultHint, getDefaultHintAttributeName, getRoleName, hasComponent, hasDeclaredComponent, release, select, setParentLocator, setRoleManager
 
Methods inherited from class org.apache.avalon.excalibur.component.ExcaliburComponentSelector
addComponent, addComponentInstance, compose, contextualize, getChildInstrumentables, getComponentHandler, getComponentHandlers, getInstrumentableName, getInstruments, initialize, setInstrumentableName, setInstrumentManager, setLoggerManager, setLogKitManager
 
Methods inherited from class org.apache.avalon.excalibur.component.AbstractDualLogEnabled
getLogkitLogger, setLogger
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsecaseSelector

public UsecaseSelector()
Method Detail

getUsecaseNames

public java.lang.String[] getUsecaseNames()
Returns:
The names of all registered usecases in alphabetical order.

configure

public void configure(org.apache.avalon.framework.configuration.Configuration config)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Overrides:
configure in class org.apache.cocoon.components.ExtendedComponentSelector
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface org.apache.avalon.framework.activity.Startable
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface org.apache.avalon.framework.activity.Startable
Throws:
java.lang.Exception

service

public void service(org.apache.avalon.framework.service.ServiceManager manager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException


Copyright $ Apache Software Foundation. All Rights Reserved.