org.apache.whirr.service
Class ClusterActionHandlerFactory
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerFactory
- Direct Known Subclasses:
- ChefClusterActionHandlerFactory, PuppetClusterActionHandlerFactory
public abstract class ClusterActionHandlerFactory
- extends Object
Produces ClusterActionHandler
s
Implementation note. ClusterActionHandlerFactory
implementations are
discovered using a Service Provider Interface (SPI), described in
ServiceLoader
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterActionHandlerFactory
public ClusterActionHandlerFactory()
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.