org.exoplatform.services.bench
Class DataInjectorService
java.lang.Object
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
|
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 |
DataInjectorService
public DataInjectorService()
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 © 2003–2014 eXo Platform SAS. All rights reserved.