org.apache.whirr.service
Class ClusterActionHandlerFactory

java.lang.Object
  extended by org.apache.whirr.service.ClusterActionHandlerFactory
Direct Known Subclasses:
ChefClusterActionHandlerFactory, PuppetClusterActionHandlerFactory

public abstract class ClusterActionHandlerFactory
extends Object

Produces ClusterActionHandlers

Implementation note. ClusterActionHandlerFactory implementations are discovered using a Service Provider Interface (SPI), described in ServiceLoader.


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

Constructor Detail

ClusterActionHandlerFactory

public ClusterActionHandlerFactory()
Method Detail

getRolePrefix

public abstract String getRolePrefix()
Returns:
prefix that should use this factory

create

public abstract ClusterActionHandler create(String roleName)


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