org.apache.whirr
Class HandlerMapFactory.ReturnHandlerByRoleOrPrefix

java.lang.Object
  extended by org.apache.whirr.HandlerMapFactory.ReturnHandlerByRoleOrPrefix
All Implemented Interfaces:
com.google.common.base.Function<String,ClusterActionHandler>
Enclosing class:
HandlerMapFactory

protected static final class HandlerMapFactory.ReturnHandlerByRoleOrPrefix
extends Object
implements com.google.common.base.Function<String,ClusterActionHandler>


Constructor Summary
protected HandlerMapFactory.ReturnHandlerByRoleOrPrefix(Map<String,ClusterActionHandlerFactory> factoryMap, Map<String,ClusterActionHandler> handlerMap)
           
 
Method Summary
 ClusterActionHandler apply(String arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

HandlerMapFactory.ReturnHandlerByRoleOrPrefix

protected HandlerMapFactory.ReturnHandlerByRoleOrPrefix(Map<String,ClusterActionHandlerFactory> factoryMap,
                                                        Map<String,ClusterActionHandler> handlerMap)
Method Detail

apply

public ClusterActionHandler apply(String arg0)
Specified by:
apply in interface com.google.common.base.Function<String,ClusterActionHandler>


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.