org.wso2.carbon.registry.core.internal
Class RegistryCoreServiceComponent.DefaultSimulationService
java.lang.Object
org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.DefaultSimulationService
- All Implemented Interfaces:
- SimulationService
- Enclosing class:
- RegistryCoreServiceComponent
public class RegistryCoreServiceComponent.DefaultSimulationService
- extends Object
- implements SimulationService
This is an implementation of the Simulation Service which is used to simulate handlers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryCoreServiceComponent.DefaultSimulationService
public RegistryCoreServiceComponent.DefaultSimulationService()
setSimulation
public void setSimulation(boolean simulation)
- Starts or stops simulation mode.
- Specified by:
setSimulation
in interface SimulationService
- Parameters:
simulation
- set this to true to start or false to stop simulation.
getSimulationStatus
public Map<String,List<String[]>> getSimulationStatus()
- Retrieves results after running a simulation.
- Specified by:
getSimulationStatus
in interface SimulationService
- 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 © 2010. All Rights Reserved.