public class AdaptorController extends Object
| Constructor and Description |
|---|
AdaptorController() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addAdaptor(AdaptorConfig ac)
Adds an adaptor to the agent and returns the adaptor info
|
javax.ws.rs.core.Response |
getAdaptor(String adaptorId)
Get a single adaptor
|
javax.ws.rs.core.Response |
getAdaptors()
Get all adaptors
|
javax.ws.rs.core.Response |
removeAdaptor(String adaptorId)
Remove an adaptor from the agent
|
public javax.ws.rs.core.Response addAdaptor(AdaptorConfig ac)
ac - is adaptor configurationExamples.ADAPTOR_STATUS_SAMPLEExamples.CREATE_ADAPTOR_SAMPLEpublic javax.ws.rs.core.Response removeAdaptor(String adaptorId)
adaptorId - id of adaptor to remove.public javax.ws.rs.core.Response getAdaptors()
Examples.ADAPTOR_LIST_SAMPLEpublic javax.ws.rs.core.Response getAdaptor(String adaptorId)
adaptorId - id of the adaptor to returnExamples.ADAPTOR_STATUS_SAMPLECopyright © 2016 Apache Software Foundation. All Rights Reserved.