org.wso2.carbon.registry.core.service
Interface SimulationService

All Known Implementing Classes:
RegistryCoreServiceComponent.DefaultSimulationService

public interface SimulationService

An API that can be used to implement a simulator to simulate handler execution.


Method Summary
 Map<String,List<String[]>> getSimulationStatus()
          Retrieves results after running a simulation.
 void setSimulation(boolean simulation)
          Starts or stops simulation mode.
 

Method Detail

setSimulation

void setSimulation(boolean simulation)
Starts or stops simulation mode.

Parameters:
simulation - set this to true to start or false to stop simulation.

getSimulationStatus

Map<String,List<String[]>> getSimulationStatus()
Retrieves results after running a simulation.

Returns:
the map of execution status of handlers. The key is the fully qualified handler class name and the values are a list of strings, which could contain, Successful, Failed, or the detail message of the exception that occurred.


Copyright © 2013 WSO2 Inc. All Rights Reserved.