|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.adapter.ResourceAdapterBase
com.waveset.adapter.AgentResourceAdapter
Nested Class Summary | |
class |
AgentResourceAdapter.AcctIter
|
protected class |
AgentResourceAdapter.AgentAccountSupplier
|
class |
AgentResourceAdapter.BlockAcctIter
|
class |
AgentResourceAdapter.BlockObjectIterator
|
Nested classes inherited from class com.waveset.adapter.ResourceAdapterBase |
ResourceAdapterBase.SimpleAccountIterator |
Nested classes inherited from class com.waveset.adapter.ResourceAdapter |
ResourceAdapter.ActionResult, ResourceAdapter.Features, ResourceAdapter.ObjectType |
Field Summary | |
protected RASecureConnection |
_connection
|
static java.lang.String |
ATTR_ACTION
|
static java.lang.String |
code_id
|
static java.lang.String |
CONNECTED_TO_RESOURCE
|
static java.lang.String |
RA_AUTHTIMEOUT
The limit to wait for the gateway to respond to a authentication request. |
static java.lang.String |
RA_CONN
The limit of concurrent connections to the resource agent. |
static java.lang.String |
RA_HANGTIMEOUT
The time the connection will be waited on before considered hung when a request has been sent to it. |
static java.lang.String |
RA_HOST
The name of the resource attribute containing the name of the host running the resource agent. |
static java.lang.String |
RA_OBJCLASS
The name of the object class being processed |
static java.lang.String |
RA_PORT
The port on which to communicate to the resource agent. |
static java.lang.String |
SUPPORTS_ENCRYPTED_TYPE
|
static java.lang.String |
USER_CLASS
An alternate to account for retrieving account lists. |
Fields inherited from class com.waveset.adapter.ResourceAdapterBase |
_cache, _context, _excludedAccountsRule, _excludedAccountsRuleInited, _listAllObjectsAttrParse, _listAllObjectsAttrParseName, _listUserAttrParse, _listUserAttrParseName, _listUserGroupsAttrParse, _listUserGroupsAttrParseName, _resource, _thread, _trace, displayInfoCode, RA_BLOCKCOUNT, RA_LOGIN_ACTION, RA_LOGOFF_ACTION, RA_MULTI_VALUED_ATTRS, RA_TEST_MODE |
Constructor Summary | |
AgentResourceAdapter()
|
|
AgentResourceAdapter(Resource res,
ObjectCache cache)
|
Method Summary | |
protected void |
addCmdArgs(WSUser user,
java.lang.String cmd,
java.lang.StringBuffer buf)
|
protected void |
addIgnoredAttrs(WSUser user,
WSAttributes wsAttrs)
|
WavesetResult |
agentTestConfiguration()
If the gateway extension for a subclass of AgentResourceAdapter implements the Extension::testConfiguration() method, then it should add the following method: public WavesetResult testConfiguration() throws WavesetException { return agentTestConfiguration(); } |
protected void |
augmentListAllObjects(java.lang.StringBuffer sb,
int indent,
java.lang.String resourceObjectType,
java.util.Map options,
WSAttributes wsAttrs)
|
WavesetResult |
authenticate(java.util.HashMap loginInfo)
Authenticates the user against the resource. |
protected void |
buildGetObjectRequest(java.lang.String objectType,
java.lang.String objectId,
java.util.List attrsToGet,
java.util.Map options,
java.lang.StringBuffer buf)
|
WavesetResult |
checkCreateAccount(WSUser user)
|
WavesetResult |
checkDeleteAccount(WSUser user)
|
WavesetResult |
checkUpdateAccount(WSUser user)
|
WavesetResult |
createAccounts(WSUser[] users)
|
WavesetResult |
createObject(GenericObject object,
java.util.Map options)
Creates the specified objectId of type objectType using the list of attributes provided. |
abstract Resource |
createPrototypeResource()
|
protected void |
createXmlObject(java.util.Map map,
WSAttributes wsAttrs,
java.lang.StringBuffer buf)
|
protected void |
createXmlObject(WSUser user,
java.lang.String identity,
WSAttributes wsAttrs,
java.lang.StringBuffer buf)
|
WavesetResult |
deleteAccounts(WSUser[] users)
|
WavesetResult |
deleteObject(GenericObject object,
java.util.Map options)
Deletes the requested objectId of the requested objectType from the resource |
protected void |
determineGatewayCapabilities(RASecureConnection.RASecureConnectionAccessor accessor)
|
WavesetResult |
disableAccounts(WSUser[] users)
|
protected WavesetResult |
doCreateOrUpdateObjectRequest(GenericObject object,
java.util.Map options,
java.lang.String cmd)
|
protected WavesetResult |
doCreateOrUpdateRequest(WSUser[] users,
java.lang.String cmd)
|
protected java.util.Map |
doGetGatewayInfo(java.util.Map parameters,
java.lang.StringBuffer buf)
|
protected java.util.Map |
doGetGatewayInfo(RASecureConnection.RASecureConnectionAccessor accessor,
java.util.Map parameters,
java.lang.StringBuffer buf)
|
WavesetResult |
enableAccounts(WSUser[] users)
|
protected boolean |
encryptEncryptedType()
|
protected boolean |
encryptEncryptedType(RASecureConnection.RASecureConnectionAccessor accessor)
|
protected void |
endRequest(java.lang.StringBuffer buf)
|
protected WSAttributes |
extendWSAttributes(java.lang.String cmd,
WSAttributes wsAttrs)
|
WSAttributes |
getAccountAttributes(java.lang.String accountIdentity)
This method is obsolete. |
AccountIterator |
getAccountIterator()
Default implementation just gets all the users and holds them in an array. |
AccountIterator |
getAccountIterator(java.util.Map attrs)
Alternate interface to pass in a map of name/value pairs to control the search. |
static java.util.List |
getAgentAdapters(LighthouseContext ctx)
|
protected long |
getAuthenticationTimeout()
Returns the number of milli seconds to wait before timing out on a authentication request. |
protected AccountIterator |
getBlockAccountIterator()
|
protected AccountIterator |
getBlockAccountIterator(java.util.Map attrs)
|
RASecureConnection |
getConnection()
|
GenericObject |
getFeatures()
Expose features supported by the Resource Adapter. |
java.util.Map |
getGatewayInfo(java.util.Map parameters)
|
protected java.lang.String |
getGenericObjectsFromResponse(java.lang.String objectType,
java.lang.String response,
java.util.ArrayList objs)
Take the list of |
protected long |
getHangTimeout()
Returns the number of seconds to wait before timing out on a request. |
protected java.lang.String |
getLoginAttrName(java.lang.String key)
Get the attribute name to use for the login info key that is passed in. |
GenericObject |
getObject(java.lang.String objectType,
java.lang.String objectId,
java.util.List attrsToGet,
java.util.Map options)
Returns the requested objectId of the requested objectType from the resource |
protected GenericObject |
getObjectFromResponse(java.lang.String response,
java.lang.String command,
java.lang.String objectType)
|
DblBufObjectIter |
getObjectIterator(java.lang.String objectType,
java.util.Map ops)
|
protected java.util.ArrayList |
getObjectListFromResponse(java.lang.String objectType,
java.lang.String response)
|
protected ResourceInfo |
getResInfo(WSUser[] users,
java.lang.String identity)
|
protected java.lang.String |
getResponse()
|
protected java.lang.String |
getResponse(long timeout)
|
protected java.lang.String |
getResponse(RASecureConnection.RASecureConnectionAccessor accessor)
|
protected java.lang.String |
getResponse(RASecureConnection.RASecureConnectionAccessor accessor,
long timeout)
|
protected byte[] |
getResponseBytes()
|
protected byte[] |
getResponseBytes(long timeout)
|
protected byte[] |
getResponseBytes(RASecureConnection.RASecureConnectionAccessor accessor)
|
protected byte[] |
getResponseBytes(RASecureConnection.RASecureConnectionAccessor accessor,
long timeout)
|
java.util.List |
getResultItemList(java.util.List results,
java.lang.String type)
%%% COPYIED from WavesetResult because of foward compatibility %%% Return a list of ResultItems with the given type. |
java.io.InputStream |
getTraceFile(java.util.Map args)
|
WavesetResult |
getTraceFile(java.lang.String localFile,
java.util.Map args)
|
WSUser |
getUser(WSUser user)
Retrieves account information from the resource for the specified WSUser and returns a new WSUser based on the information from the resource. |
protected WSUser[] |
getUsersFromResponse(java.lang.String response)
|
protected java.lang.String |
getUsersFromResponse(java.lang.String response,
java.util.ArrayList users)
|
protected java.lang.String |
getWsAttrsString()
|
java.util.ArrayList |
listAllObjects(java.lang.String resourceObjectType,
java.util.Map options,
java.lang.String runAsUser,
EncryptedData runAsPassword)
This method will return a list of object names of the specified object type. |
java.util.List |
listObjects(java.lang.String objectType,
java.util.Map options)
Returns a list of objects matching the requested objectType and options |
protected WavesetResult |
loadUsersFromResponse(java.lang.String response,
java.util.ArrayList users)
|
protected void |
makeConnection()
|
protected void |
makeConnection(RASecureConnection.RASecureConnectionAccessor accessor)
|
protected java.lang.String |
makeGUID(java.lang.String guid)
encode the GUID for the url |
protected WSAttributes |
mapAttributes(WSUser user,
java.lang.String operation,
boolean keepEncryptedType)
|
protected java.lang.String |
mapObjectType(java.lang.String resourceObjectType)
Resource adapters such as the ones for NT and ADSI may overrided this method to provide resource-specific types. |
protected void |
removeUserAttr(WSUser[] users,
java.lang.String identity,
java.lang.String attrName,
WavesetResult result)
|
protected void |
returnConnection()
|
protected void |
returnConnection(boolean bogus)
|
protected void |
returnConnection(RASecureConnection.RASecureConnectionAccessor accessor)
|
protected void |
returnConnection(RASecureConnection.RASecureConnectionAccessor accessor,
boolean bogus)
|
protected WSAttributes |
reverseMapAttributes(WSAttributes attributes)
|
WavesetResult |
run(ResourceAction action,
java.util.Map args)
This is NOT supported by default. |
protected boolean |
runAction(WSUser user,
WSAttributes wsAttrs,
java.lang.String command,
java.lang.String timing,
WavesetResult result)
|
WavesetResult |
scan(java.util.Map parameters)
|
protected void |
sendRequest(RASecureConnection.RASecureConnectionAccessor accessor,
java.lang.String request)
|
protected void |
sendRequest(RASecureConnection.RASecureConnectionAccessor accessor,
java.lang.String request,
long timeout)
|
protected void |
sendRequest(java.lang.String request)
Before calling this, you must call getConnection() to get a connection (which is saved in the _connection member variable). |
protected void |
sendRequest(java.lang.String request,
long timeout)
|
void |
setConnection(RASecureConnection connection)
|
WavesetResult |
setGatewayInfo(java.util.Map parameters)
|
protected void |
startRequest(RASecureConnection.RASecureConnectionAccessor accessor,
java.lang.StringBuffer buf,
java.lang.String cmd)
|
protected void |
startRequest(java.lang.StringBuffer buf,
java.lang.String cmd)
|
protected void |
startRequestWithoutConnect(java.lang.StringBuffer buf,
java.lang.String cmd)
|
protected void |
transformGUID(WavesetResult result)
|
WavesetResult |
updateAccounts(WSUser[] users)
|
protected boolean |
updateIdFromResource()
Indicates whether or not the identity for this resource should be updated from the id that is returned from the gateway. |
WavesetResult |
updateKey(java.util.Map parameters)
|
WavesetResult |
updateObject(GenericObject object,
java.util.Map options)
Updates the specified objectId of type objectType using the list of attributes provided. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String RA_HOST
public static final java.lang.String RA_PORT
public static final java.lang.String RA_CONN
public static final java.lang.String ATTR_ACTION
public static final java.lang.String RA_AUTHTIMEOUT
public static final java.lang.String RA_HANGTIMEOUT
public static final java.lang.String RA_OBJCLASS
public static final java.lang.String USER_CLASS
public static final java.lang.String SUPPORTS_ENCRYPTED_TYPE
public static final java.lang.String CONNECTED_TO_RESOURCE
protected RASecureConnection _connection
Constructor Detail |
public AgentResourceAdapter(Resource res, ObjectCache cache)
public AgentResourceAdapter()
Method Detail |
public abstract Resource createPrototypeResource() throws WavesetException
createPrototypeResource
in interface ResourceAdapter
createPrototypeResource
in class ResourceAdapterBase
WavesetException
public GenericObject getFeatures()
getFeatures
in interface ResourceAdapter
getFeatures
in class ResourceAdapterBase
ResourceAdapter.Features
public WavesetResult checkCreateAccount(WSUser user) throws WavesetException
checkCreateAccount
in interface ResourceAdapter
checkCreateAccount
in class ResourceAdapterBase
WavesetException
public WavesetResult createAccounts(WSUser[] users) throws WavesetException
createAccounts
in interface ResourceAdapter
createAccounts
in class ResourceAdapterBase
WavesetException
public WavesetResult checkUpdateAccount(WSUser user) throws WavesetException
checkUpdateAccount
in interface ResourceAdapter
checkUpdateAccount
in class ResourceAdapterBase
WavesetException
public WavesetResult updateAccounts(WSUser[] users) throws WavesetException
updateAccounts
in interface ResourceAdapter
updateAccounts
in class ResourceAdapterBase
WavesetException
public WavesetResult disableAccounts(WSUser[] users) throws WavesetException
disableAccounts
in interface ResourceAdapter
disableAccounts
in class ResourceAdapterBase
WavesetException
public WavesetResult enableAccounts(WSUser[] users) throws WavesetException
enableAccounts
in interface ResourceAdapter
enableAccounts
in class ResourceAdapterBase
WavesetException
public WavesetResult checkDeleteAccount(WSUser user) throws WavesetException
checkDeleteAccount
in interface ResourceAdapter
checkDeleteAccount
in class ResourceAdapterBase
WavesetException
public WavesetResult deleteAccounts(WSUser[] users) throws WavesetException
deleteAccounts
in interface ResourceAdapter
deleteAccounts
in class ResourceAdapterBase
WavesetException
protected WSUser[] getUsersFromResponse(java.lang.String response) throws WavesetException
WavesetException
protected void createXmlObject(WSUser user, java.lang.String identity, WSAttributes wsAttrs, java.lang.StringBuffer buf) throws WavesetException
WavesetException
protected void createXmlObject(java.util.Map map, WSAttributes wsAttrs, java.lang.StringBuffer buf) throws WavesetException
WavesetException
protected java.lang.String getGenericObjectsFromResponse(java.lang.String objectType, java.lang.String response, java.util.ArrayList objs) throws WavesetException
WavesetException
protected WavesetResult loadUsersFromResponse(java.lang.String response, java.util.ArrayList users) throws WavesetException
WavesetException
protected java.lang.String getUsersFromResponse(java.lang.String response, java.util.ArrayList users) throws WavesetException
WavesetException
protected java.lang.String getWsAttrsString() throws WavesetException
WavesetException
public WSUser getUser(WSUser user) throws WavesetException
ResourceAdapter
getUser
in interface ResourceAdapter
getUser
in class ResourceAdapterBase
WavesetException
public WSAttributes getAccountAttributes(java.lang.String accountIdentity) throws WavesetException
ResourceAdapter
getAccountAttributes
in interface ResourceAdapter
getAccountAttributes
in class ResourceAdapterBase
WavesetException
protected WSAttributes reverseMapAttributes(WSAttributes attributes)
protected java.lang.String makeGUID(java.lang.String guid)
public AccountIterator getAccountIterator() throws WavesetException
getAccountIterator
in interface ResourceAdapter
getAccountIterator
in class ResourceAdapterBase
WavesetException
public AccountIterator getAccountIterator(java.util.Map attrs) throws WavesetException
getAccountIterator
in interface ResourceAdapter
getAccountIterator
in class ResourceAdapterBase
WavesetException
protected byte[] getResponseBytes() throws WavesetException
WavesetException
protected byte[] getResponseBytes(long timeout) throws WavesetException
WavesetException
protected byte[] getResponseBytes(RASecureConnection.RASecureConnectionAccessor accessor) throws WavesetException
WavesetException
protected byte[] getResponseBytes(RASecureConnection.RASecureConnectionAccessor accessor, long timeout) throws WavesetException
WavesetException
protected java.lang.String getResponse() throws WavesetException
WavesetException
protected java.lang.String getResponse(long timeout) throws WavesetException
WavesetException
protected java.lang.String getResponse(RASecureConnection.RASecureConnectionAccessor accessor) throws WavesetException
WavesetException
protected java.lang.String getResponse(RASecureConnection.RASecureConnectionAccessor accessor, long timeout) throws WavesetException
WavesetException
protected void addIgnoredAttrs(WSUser user, WSAttributes wsAttrs)
protected boolean runAction(WSUser user, WSAttributes wsAttrs, java.lang.String command, java.lang.String timing, WavesetResult result) throws WavesetException
WavesetException
protected WavesetResult doCreateOrUpdateRequest(WSUser[] users, java.lang.String cmd) throws WavesetException
WavesetException
protected boolean updateIdFromResource()
protected void addCmdArgs(WSUser user, java.lang.String cmd, java.lang.StringBuffer buf)
protected void removeUserAttr(WSUser[] users, java.lang.String identity, java.lang.String attrName, WavesetResult result)
protected ResourceInfo getResInfo(WSUser[] users, java.lang.String identity)
protected WSAttributes mapAttributes(WSUser user, java.lang.String operation, boolean keepEncryptedType) throws WavesetException
WavesetException
protected void startRequest(RASecureConnection.RASecureConnectionAccessor accessor, java.lang.StringBuffer buf, java.lang.String cmd) throws WavesetException
WavesetException
protected void startRequest(java.lang.StringBuffer buf, java.lang.String cmd) throws WavesetException
WavesetException
protected void startRequestWithoutConnect(java.lang.StringBuffer buf, java.lang.String cmd) throws WavesetException
WavesetException
protected void endRequest(java.lang.StringBuffer buf)
public RASecureConnection getConnection()
getConnection
in interface RASecureConnection.RASecureConnectionAccessor
public void setConnection(RASecureConnection connection)
setConnection
in interface RASecureConnection.RASecureConnectionAccessor
protected void makeConnection() throws WavesetException
WavesetException
protected void makeConnection(RASecureConnection.RASecureConnectionAccessor accessor) throws WavesetException
WavesetException
protected void determineGatewayCapabilities(RASecureConnection.RASecureConnectionAccessor accessor) throws WavesetException
WavesetException
protected boolean encryptEncryptedType() throws WavesetException
WavesetException
protected boolean encryptEncryptedType(RASecureConnection.RASecureConnectionAccessor accessor) throws WavesetException
WavesetException
protected void returnConnection(RASecureConnection.RASecureConnectionAccessor accessor, boolean bogus)
protected void returnConnection(RASecureConnection.RASecureConnectionAccessor accessor)
protected void returnConnection(boolean bogus)
protected void returnConnection()
protected void sendRequest(java.lang.String request) throws WavesetException
WavesetException
protected void sendRequest(java.lang.String request, long timeout) throws WavesetException
WavesetException
protected void sendRequest(RASecureConnection.RASecureConnectionAccessor accessor, java.lang.String request) throws WavesetException
WavesetException
protected void sendRequest(RASecureConnection.RASecureConnectionAccessor accessor, java.lang.String request, long timeout) throws WavesetException
WavesetException
public java.util.Map getGatewayInfo(java.util.Map parameters) throws WavesetException
WavesetException
protected java.util.Map doGetGatewayInfo(java.util.Map parameters, java.lang.StringBuffer buf) throws WavesetException
WavesetException
protected java.util.Map doGetGatewayInfo(RASecureConnection.RASecureConnectionAccessor accessor, java.util.Map parameters, java.lang.StringBuffer buf) throws WavesetException
WavesetException
public WavesetResult setGatewayInfo(java.util.Map parameters) throws WavesetException
WavesetException
public java.io.InputStream getTraceFile(java.util.Map args) throws WavesetException
WavesetException
public WavesetResult getTraceFile(java.lang.String localFile, java.util.Map args) throws WavesetException
WavesetException
protected AccountIterator getBlockAccountIterator() throws WavesetException
WavesetException
protected AccountIterator getBlockAccountIterator(java.util.Map attrs) throws WavesetException
WavesetException
public DblBufObjectIter getObjectIterator(java.lang.String objectType, java.util.Map ops) throws WavesetException
WavesetException
protected java.lang.String getLoginAttrName(java.lang.String key)
protected long getAuthenticationTimeout()
protected long getHangTimeout()
public WavesetResult authenticate(java.util.HashMap loginInfo) throws WavesetException
ResourceAdapter
authenticate
in interface ResourceAdapter
authenticate
in class ResourceAdapterBase
WavesetException
protected void transformGUID(WavesetResult result)
public WavesetResult scan(java.util.Map parameters) throws WavesetException
scan
in interface ResourceAdapter
scan
in class ResourceAdapterBase
WavesetException
public GenericObject getObject(java.lang.String objectType, java.lang.String objectId, java.util.List attrsToGet, java.util.Map options) throws WavesetException
getObject
in interface ResourceAdapter
getObject
in class ResourceAdapterBase
objectType
- - a valid object type defined in the resource's objectId
- - a valid fully qualified object identifier on this resource
(e.g. "dn")attrsToGet
- - a list of attribute names supported by the specified objectType
to be returned with the objectoptions
- - not currently used since the objectId/objectType provide a unique
identifier of the object being requested
WavesetException
protected void buildGetObjectRequest(java.lang.String objectType, java.lang.String objectId, java.util.List attrsToGet, java.util.Map options, java.lang.StringBuffer buf) throws WavesetException
WavesetException
protected GenericObject getObjectFromResponse(java.lang.String response, java.lang.String command, java.lang.String objectType) throws WavesetException
WavesetException
public WavesetResult createObject(GenericObject object, java.util.Map options) throws WavesetException
createObject
in interface ResourceAdapter
createObject
in class ResourceAdapterBase
object
- - a GenericObject containing the objectType, objectId, and list of attributes
to be set on the new objectoptions
- - several options can be specified which control the behavior of the search
for referenced objects (e.g. group members)
They include:
WavesetException
public WavesetResult updateObject(GenericObject object, java.util.Map options) throws WavesetException
updateObject
in interface ResourceAdapter
updateObject
in class ResourceAdapterBase
object
- - a GenericObject containing the objectType, objectId, and list of new
and changed attributes to be set on the objectoptions
- - several options can be specified which control the behavior of the search
for referenced objects (e.g. group members)
They include:
WavesetException
protected WSAttributes extendWSAttributes(java.lang.String cmd, WSAttributes wsAttrs) throws WavesetException
WavesetException
protected WavesetResult doCreateOrUpdateObjectRequest(GenericObject object, java.util.Map options, java.lang.String cmd) throws WavesetException
WavesetException
public WavesetResult deleteObject(GenericObject object, java.util.Map options) throws WavesetException
deleteObject
in interface ResourceAdapter
deleteObject
in class ResourceAdapterBase
object
- - a valid fully qualified object identifier on this resource
(e.g. "dn")options
- - not currently used since the objectId/objectType provide a unique
identifier of the object being deleted
WavesetException
public java.util.List listObjects(java.lang.String objectType, java.util.Map options) throws WavesetException
listObjects
in interface ResourceAdapter
listObjects
in class ResourceAdapterBase
objectType
- - the name of a valid object class for this specified "resId".options
- - several options can be specified which control the behavior of the search.
They include:
WavesetException
protected void augmentListAllObjects(java.lang.StringBuffer sb, int indent, java.lang.String resourceObjectType, java.util.Map options, WSAttributes wsAttrs)
public java.util.ArrayList listAllObjects(java.lang.String resourceObjectType, java.util.Map options, java.lang.String runAsUser, EncryptedData runAsPassword) throws WavesetException
ResourceAdapter
listAllObjects
in interface ResourceAdapter
listAllObjects
in class ResourceAdapterBase
resourceObjectType
- -
a type of object that is either well-known or is meaningful to
the resource. Every resource is expected to recognize certain
values. For example,
listAllObjects(ObjectType.ACCOUNT, null, null, null)
should return a list of all account names.options
- -
a map of optionsrunAsUser
- -
(optional) if specified, connect as this user to list all
objects of the specified type.runAsPassword
- -
(optional) if specified, connect with this password to list
all objects of the specified type.
WavesetException
protected java.lang.String mapObjectType(java.lang.String resourceObjectType)
protected java.util.ArrayList getObjectListFromResponse(java.lang.String objectType, java.lang.String response) throws WavesetException
WavesetException
public WavesetResult updateKey(java.util.Map parameters) throws WavesetException
WavesetException
public static java.util.List getAgentAdapters(LighthouseContext ctx) throws WavesetException
WavesetException
public WavesetResult agentTestConfiguration() throws WavesetException
WavesetException
public java.util.List getResultItemList(java.util.List results, java.lang.String type)
This should only be used if you know from context that there will only be one item of this type in the result. It should not be used for displaying messages, since there can be more than one message in the result. !! Would like to change the behavior to search by name only
public WavesetResult run(ResourceAction action, java.util.Map args) throws WavesetException
ResourceAdapterBase
run
in interface ResourceAdapter
run
in class ResourceAdapterBase
action
- The action to executeargs
- Additional args, can be null.
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |