public class HaStrategyFactory extends Object
HaStrategy.| Constructor and Description |
|---|
HaStrategyFactory() |
| Modifier and Type | Method and Description |
|---|---|
static HaStrategy |
getHaStrategy(org.wso2.broker.common.StartupContext startupContext)
Method to retrieve an instance of the specified implementation of
HaStrategy. |
public static HaStrategy getHaStrategy(org.wso2.broker.common.StartupContext startupContext) throws Exception
HaStrategy.startupContext - the startup context from which registered services can be retrievedHaStrategyException - if an error occurs initializing the HaStrategyCopyright © 2018 WSO2. All rights reserved.