org.apache.whirr.service.chef
Class ChefClusterActionHandlerFactory

java.lang.Object
  extended by org.apache.whirr.service.ClusterActionHandlerFactory
      extended by org.apache.whirr.service.chef.ChefClusterActionHandlerFactory

public class ChefClusterActionHandlerFactory
extends ClusterActionHandlerFactory


Field Summary
static String CHEF_ROLE_PREFIX
           
 
Constructor Summary
ChefClusterActionHandlerFactory()
           
 
Method Summary
 ClusterActionHandler create(String roleName)
           
 String getRolePrefix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHEF_ROLE_PREFIX

public static final String CHEF_ROLE_PREFIX
See Also:
Constant Field Values
Constructor Detail

ChefClusterActionHandlerFactory

public ChefClusterActionHandlerFactory()
Method Detail

getRolePrefix

public String getRolePrefix()
Specified by:
getRolePrefix in class ClusterActionHandlerFactory
Returns:
prefix that should use this factory

create

public ClusterActionHandler create(String roleName)
Specified by:
create in class ClusterActionHandlerFactory


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