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
|
protected AdaptorInfo |
buildAdaptor(String adaptorId)
Renders info for one adaptor.
|
protected AdaptorList |
buildAdaptors()
Renders info for all adaptors.
|
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)
public javax.ws.rs.core.Response removeAdaptor(String adaptorId)
adaptorId
- id of adaptor to remove.public javax.ws.rs.core.Response getAdaptors()
public javax.ws.rs.core.Response getAdaptor(String adaptorId)
adaptorId
- id of the adaptor to returnprotected AdaptorInfo buildAdaptor(String adaptorId)
protected AdaptorList buildAdaptors()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.