org.apache.synapse
Class ServerStateDetectionStrategy

java.lang.Object
  extended by org.apache.synapse.ServerStateDetectionStrategy

public class ServerStateDetectionStrategy
extends Object

Detects possible current server state


Constructor Summary
ServerStateDetectionStrategy()
           
 
Method Summary
static ServerState currentState(ServerContextInformation contextInformation, ServerConfigurationInformation information)
          Determine the next possible server state based on current states and other facts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerStateDetectionStrategy

public ServerStateDetectionStrategy()
Method Detail

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 instance
information - ServerConfigurationInformation instance
Returns:
The actual current state possible states for the server


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.