org.apache.cocoon.core.container
Class DefaultServiceSelector.Factory

java.lang.Object
  extended byorg.apache.cocoon.core.container.ComponentFactory
      extended byorg.apache.cocoon.core.container.DefaultServiceSelector.Factory
Enclosing class:
DefaultServiceSelector

public static class DefaultServiceSelector.Factory
extends ComponentFactory

A special factory for DefaultServiceSelector, that passes it the RoleManager and its role name.


Field Summary
 
Fields inherited from class org.apache.cocoon.core.container.ComponentFactory
componentLogger, configureSettingsMethod, core, destroyMethod, environment, initMethod, parameters, poolInMethod, poolOutMethod, serviceClass, serviceInfo
 
Constructor Summary
DefaultServiceSelector.Factory(ComponentEnvironment env, ComponentInfo info, String role)
           
 
Method Summary
protected  void setupInstance(Object object)
          Invoke the various lifecycle interfaces to setup a newly created component
 
Methods inherited from class org.apache.cocoon.core.container.ComponentFactory
decommission, enteringPool, exitingPool, getCreatedClass, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServiceSelector.Factory

public DefaultServiceSelector.Factory(ComponentEnvironment env,
                                      ComponentInfo info,
                                      String role)
                               throws Exception
Method Detail

setupInstance

protected void setupInstance(Object object)
                      throws Exception
Description copied from class: ComponentFactory
Invoke the various lifecycle interfaces to setup a newly created component

Overrides:
setupInstance in class ComponentFactory
Parameters:
object -
Throws:
Exception


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.