org.wso2.carbon.registry.core.internal
Class RegistryCoreServiceComponent.DefaultSimulationService

java.lang.Object
  extended by org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.DefaultSimulationService
All Implemented Interfaces:
SimulationService
Enclosing class:
RegistryCoreServiceComponent

public static class RegistryCoreServiceComponent.DefaultSimulationService
extends java.lang.Object
implements SimulationService

This is an implementation of the Simulation Service which is used to simulate handlers.


Constructor Summary
RegistryCoreServiceComponent.DefaultSimulationService()
           
 
Method Summary
 java.util.Map<java.lang.String,java.util.List<java.lang.String[]>> getSimulationStatus()
          Retrieves results after running a simulation.
 void setSimulation(boolean simulation)
          Starts or stops simulation mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryCoreServiceComponent.DefaultSimulationService

public RegistryCoreServiceComponent.DefaultSimulationService()
Method Detail

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 java.util.Map<java.lang.String,java.util.List<java.lang.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 © 2011 WSO2 Inc. All Rights Reserved.