org.apache.synapse
Class ServerStateDetectionStrategy
java.lang.Object
org.apache.synapse.ServerStateDetectionStrategy
public class ServerStateDetectionStrategy
- extends Object
Detects possible current server state
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerStateDetectionStrategy
public ServerStateDetectionStrategy()
currentState
public static ServerState currentState(ServerContextInformation contextInformation,
ServerConfigurationInformation information)
- Determine the next possible server state based on current states and other facts
- Parameters:
contextInformation
- ServerContextInformation instanceinformation
- ServerConfigurationInformation instance
- Returns:
- The actual current state possible states for the server
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.