org.exoplatform.services.bench
Class DataInjectorService

java.lang.Object
  extended by org.exoplatform.services.bench.DataInjectorService
All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer

public class DataInjectorService
extends Object
implements org.exoplatform.services.rest.resource.ResourceContainer

Created by The eXo Platform SAS


Constructor Summary
DataInjectorService()
           
 
Method Summary
 void addInjector(DataInjector dataInjector)
          this function is used to add DataInjector plugins.
 javax.ws.rs.core.Response execute(String type, javax.ws.rs.core.UriInfo info)
           
 javax.ws.rs.core.Response inject(String type, javax.ws.rs.core.UriInfo info)
           
 javax.ws.rs.core.Response reject(String type, javax.ws.rs.core.UriInfo info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataInjectorService

public DataInjectorService()
Method Detail

addInjector

public void addInjector(DataInjector dataInjector)
this function is used to add DataInjector plugins.

Parameters:
dataInjector -

execute

@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response execute(String type,
                                                      @Context
                                                      javax.ws.rs.core.UriInfo info)

inject

@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response inject(String type,
                                                     @Context
                                                     javax.ws.rs.core.UriInfo info)

reject

@RolesAllowed(value="administrators")
public javax.ws.rs.core.Response reject(String type,
                                                     @Context
                                                     javax.ws.rs.core.UriInfo info)


Copyright © 2013 eXo Platform SAS. All Rights Reserved.