com.waveset.adapter
Class ScriptedGatewayResourceAdapter

java.lang.Object
  extended bycom.waveset.adapter.ResourceAdapterBase
      extended bycom.waveset.adapter.AgentResourceAdapter
          extended bycom.waveset.adapter.ScriptedGatewayResourceAdapter
All Implemented Interfaces:
RASecureConnection.RASecureConnectionAccessor, ResourceAdapter

public class ScriptedGatewayResourceAdapter
extends AgentResourceAdapter


Nested Class Summary
 
Nested classes inherited from class com.waveset.adapter.AgentResourceAdapter
AgentResourceAdapter.AcctIter, AgentResourceAdapter.AgentAccountSupplier, AgentResourceAdapter.BlockAcctIter, 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
static java.lang.String DIRECT_MAP_MODE
          Possible values for RA_ATTR_MAP_MODE
static java.lang.String RA_ACCT_ITER_ACTION
           
static java.lang.String RA_ACCT_ITER_HANDLER
           
static java.lang.String RA_ATTR_MAP_MODE
           
static java.lang.String RA_ATTR0
           
static java.lang.String RA_ATTR1
           
static java.lang.String RA_AUTHENTICATE_ACTION
           
static java.lang.String RA_AUTHENTICATE_HANDLER
           
static java.lang.String RA_CHECK_CREATE_USER_ACTION
           
static java.lang.String RA_CHECK_CREATE_USER_HANDLER
           
static java.lang.String RA_CHECK_DELETE_USER_ACTION
           
static java.lang.String RA_CHECK_DELETE_USER_HANDLER
           
static java.lang.String RA_CHECK_UPDATE_USER_ACTION
           
static java.lang.String RA_CHECK_UPDATE_USER_HANDLER
           
static java.lang.String RA_CREATE_USER_ACTION
           
static java.lang.String RA_CREATE_USER_HANDLER
           
static java.lang.String RA_DELETE_USER_ACTION
           
static java.lang.String RA_DELETE_USER_HANDLER
           
static java.lang.String RA_DISABLE_USER_ACTION
           
static java.lang.String RA_DISABLE_USER_HANDLER
           
static java.lang.String RA_ENABLE_USER_ACTION
           
static java.lang.String RA_ENABLE_USER_HANDLER
           
static java.lang.String RA_GET_ALL_ACTION
           
static java.lang.String RA_GET_ALL_HANDLER
           
static java.lang.String RA_GET_FILE_ACTION
           
static java.lang.String RA_GET_FILE_HANDLER
           
static java.lang.String RA_GET_INFO_ACTION
           
static java.lang.String RA_GET_INFO_HANDLER
           
static java.lang.String RA_GET_USER_ACTION
           
static java.lang.String RA_GET_USER_HANDLER
           
static java.lang.String RA_LIST_TIMEOUT
           
static java.lang.String RA_LISTALL_ACTION
           
static java.lang.String RA_LISTALL_HANDLER
           
static java.lang.String RA_PASSWORD
           
static java.lang.String RA_RESULT_HANDLER
           
static java.lang.String RA_SCAN_ACTION
           
static java.lang.String RA_SCAN_HANDLER
           
static java.lang.String RA_SCRIPT_SOURCE
           
static java.lang.String RA_SET_INFO_ACTION
           
static java.lang.String RA_SET_INFO_HANDLER
           
static java.lang.String RA_SUPPORTS_PASSWORDS
          A boolean ("true" or "false") used to toggle the PASSWORD feature
static java.lang.String RA_TEST_CONFIG_ACTION
           
static java.lang.String RA_TEST_CONFIG_HANDLER
           
static java.lang.String RA_TIMEOUT
           
static java.lang.String RA_UPDATE_USER_ACTION
           
static java.lang.String RA_UPDATE_USER_HANDLER
           
static java.lang.String RA_UPPERCASE_IDENTITY
          If true, always convert the identity to uppercase
static java.lang.String RA_USER
          The account name and password optionally used on the gateway to connect to the resource.
static java.lang.String STRING_MAP_MODE
           
 
Fields inherited from class com.waveset.adapter.AgentResourceAdapter
_connection, ATTR_ACTION, code_id, CONNECTED_TO_RESOURCE, RA_AUTHTIMEOUT, RA_CONN, RA_HANGTIMEOUT, RA_HOST, RA_OBJCLASS, RA_PORT, SUPPORTS_ENCRYPTED_TYPE, USER_CLASS
 
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
 
Fields inherited from interface com.waveset.adapter.ResourceAdapter
CHANGE_PASSWORD_LOCATION, DISABLE, ENABLE, EXPIRE_PASSWORD, GUID, IGNORE_ATTR, NEW_ACCOUNT_ID, OP_DAYS_INACTIVE, OP_DISABLED, OP_DORMANT, OP_EXPIRED, OP_EXPIREDPWD, OP_INACTIVE, OP_LOCKED, OP_NO_PASSWORD_SET, OP_NOOWNERSHIP, OP_NOPASSWORDREQ, OP_NUMINACTIVEDAYS, OP_NUMPWDAYS, OP_PWNUMDAYS, RA_BASE_CTX, RA_DISPLAY_NAME_ATTR, RA_NEW_OBJECT_ID, RA_NEW_OBJECT_NAME, RA_OBJECT_ATTRIBUTES, RA_OBJECT_CLASS, RA_OBJECT_ID, RA_OBJECT_TYPE, RA_OP_TYPE, RA_RENAME_OP, RA_REQUESTOR, RA_SAVEAS_OP, RA_SEARCH_ATTRIBUTE_NAMES, RA_SEARCH_ATTRS_TO_GET, RA_SEARCH_CONTEXT, RA_SEARCH_FILTER, RA_SEARCH_RUN_AS_PASSWORD, RA_SEARCH_RUN_AS_USER, RA_SEARCH_SCOPE, RA_SEARCH_SCOPE_OBJECT, RA_SEARCH_SCOPE_ONE_LEVEL, RA_SEARCH_SCOPE_SUBTREE, RA_SEARCH_TIME_LIMIT, RESET_PASSWORD, SYSTEM_ATTRIBUTES, UNLOCK, WS_USER_PASSWORD
 
Constructor Summary
ScriptedGatewayResourceAdapter()
           
ScriptedGatewayResourceAdapter(Resource res, ObjectCache cache)
           
ScriptedGatewayResourceAdapter(com.waveset.adapter.ScriptedGatewayResultHandler resultHandler, ScriptedGatewayScriptSource scriptSource)
           
 
Method Summary
 Resource createPrototypeResource()
           
 java.lang.String defaultGetGenericObjectsFromResponse(java.lang.String objectType, java.lang.String response, java.util.ArrayList objs)
           
 GenericObject defaultGetObjectFromResponse(java.lang.String response, java.lang.String command, java.lang.String objectType)
           
 WavesetResult defaultLoadUsersFromResponse(java.lang.String response, java.util.ArrayList users)
           
protected  WavesetResult doCreateOrUpdateRequest(WSUser[] users, java.lang.String cmd)
           
 void enterTestMode()
           
 void exitTestMode()
           
protected  WSAttributes extendWSAttributes(java.lang.String cmd, WSAttributes wsAttrs)
           
protected  WSAttributes extendWSAttributes(java.lang.String cmd, WSAttributes wsAttrs, WSUser wsUser)
           
 AttrParse getAttrParse(java.lang.String attrParseName)
           
 GenericObject getFeatures()
          Expose features supported by the Resource Adapter.
 java.lang.String getGenericObjectsFromResponse(java.lang.String objectType, java.lang.String response, java.util.ArrayList objs)
          Take the list of 's returned from the search request.
 GenericObject getObjectFromResponse(java.lang.String response, java.lang.String command, java.lang.String objectType)
           
protected  java.util.ArrayList getObjectListFromResponse(java.lang.String objectType, java.lang.String response)
           
protected  com.waveset.adapter.ScriptedGatewayResultHandler getResultHandler()
           
protected  ScriptedGatewayScriptSource getScriptSource()
           
 WavesetResult loadUsersFromResponse(java.lang.String response, java.util.ArrayList users)
           
static void main(java.lang.String[] args)
           
protected  WSAttributes mapAttributes(WSUser user, java.lang.String operation, boolean keepEncryptedType)
           
 WavesetResult run(ResourceAction action, java.util.Map args)
          This is NOT supported by default.
 boolean runAction(WSUser user, WSAttributes wsAttrs, java.lang.String command, java.lang.String timing, WavesetResult result)
           
protected  void setResultHandler(com.waveset.adapter.ScriptedGatewayResultHandler resultHandler)
           
protected  void setScriptSource(ScriptedGatewayScriptSource scriptSource)
           
static Resource staticCreatePrototypeResource()
           
 
Methods inherited from class com.waveset.adapter.AgentResourceAdapter
addCmdArgs, addIgnoredAttrs, agentTestConfiguration, augmentListAllObjects, authenticate, buildGetObjectRequest, checkCreateAccount, checkDeleteAccount, checkUpdateAccount, createAccounts, createObject, createXmlObject, createXmlObject, deleteAccounts, deleteObject, determineGatewayCapabilities, disableAccounts, doCreateOrUpdateObjectRequest, doGetGatewayInfo, doGetGatewayInfo, enableAccounts, encryptEncryptedType, encryptEncryptedType, endRequest, getAccountAttributes, getAccountIterator, getAccountIterator, getAgentAdapters, getAuthenticationTimeout, getBlockAccountIterator, getBlockAccountIterator, getConnection, getGatewayInfo, getHangTimeout, getLoginAttrName, getObject, getObjectIterator, getResInfo, getResponse, getResponse, getResponse, getResponse, getResponseBytes, getResponseBytes, getResponseBytes, getResponseBytes, getResultItemList, getTraceFile, getTraceFile, getUser, getUsersFromResponse, getUsersFromResponse, getWsAttrsString, listAllObjects, listObjects, makeConnection, makeConnection, makeGUID, mapObjectType, removeUserAttr, returnConnection, returnConnection, returnConnection, returnConnection, reverseMapAttributes, scan, sendRequest, sendRequest, sendRequest, sendRequest, setConnection, setGatewayInfo, startRequest, startRequest, startRequestWithoutConnect, transformGUID, updateAccounts, updateIdFromResource, updateKey, updateObject
 
Methods inherited from class com.waveset.adapter.ResourceAdapterBase
checkForNoPasswordInSchema, checkSyntax, createAccount, createIdentity, deleteAccount, deleteAccount, disableAccount, dnsEqual, dnsEqual, enableAccount, executeResourceAttributeJavascriptAction, fillInResourceInfo, fillInResourceInfo, getAccountIterator, getAction, getActionNotFoundErrorMessage, getActionNotFoundMessage, getActionRunAsPassword, getActionRunAsUser, getActionTimeout, getActionType, getAdapter, getAdapter, getAdapter, getAdapterProxy, getAdapterProxy, getAllAccounts, getAttrNameFromMapName, getAttrNameFromMapName, getAttrTypeFromMapName, getAttrTypeFromMapName, getAUserName, getBaseContextAttrName, getBaseContextObject, getBaseContexts, getBlockSize, getContext, getExcludedAccountsRule, getIdentity, getListAllObjectsAttrParse, getListUserAttrParse, getListUserGroupsAttrParse, getOptionalBooleanResAttrVal, getOptionalBooleanResAttrVal, getOptionalEncryptedResAttrVal, getOptionalResAttrVal, getOptionalStringResAttrVal, getRequiredResAttr, getRequiredResAttr, getRequiredResAttrVal, getRequiredResAttrVal, getRequiredResAttrVals, getRequiredUserAttributeNames, getResAttrValActionOnUser, getResAttrVals, getResource, getResourceAccounts, getResourceInfo, getResourceObjectAttrValNameAttr, getResourceObjectClassAttr, getResourceObjectTypePrefix, getSchemaMap, getUser, getWSAttrByMapName, getWSAttrByMapName, getWSAttrFromMap, handleActionResult, handleJavascriptActionResult, isAccountAttributeSecret, isExcludedAccount, isExcludedAccount, isFeatureEnabled, isSupported, isTestMode, listAllObjects, listObjects, listObjectsOfType, lookupAction, lookupAction, lookupActions, namesEqual, objectClassesMatchType, println, realCreate, realDelete, realDisable, realEnable, realUpdate, restoreResourceObjectClassAttr, run, runResourceAttributeJavascriptAction, setCache, setContext, setDisabled, setFromResource, setResource, setResourceObjectClassAttr, setResourceOptionAttrs, startConnection, startConnectionWrapper, stopConnection, supportsAccountActions, supportsAccountDisable, supportsActions, supportsCaseInsensitiveAccountIds, supportsContainerObjectTypes, supportsExcludedAccounts, supportsResourceAccount, supportsScanning, testConfiguration, updateAccount, updateResourceAccount, updateResourceIdentity, vmStoreBoot, vmStoreGet, vmStoreInit, vmStoreLatch, vmStorePut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RA_USER

public static final java.lang.String RA_USER
The account name and password optionally used on the gateway to connect to the resource.

See Also:
Constant Field Values

RA_PASSWORD

public static final java.lang.String RA_PASSWORD
See Also:
Constant Field Values

RA_GET_USER_ACTION

public static final java.lang.String RA_GET_USER_ACTION
See Also:
Constant Field Values

RA_GET_USER_HANDLER

public static final java.lang.String RA_GET_USER_HANDLER
See Also:
Constant Field Values

RA_CHECK_CREATE_USER_ACTION

public static final java.lang.String RA_CHECK_CREATE_USER_ACTION
See Also:
Constant Field Values

RA_CHECK_CREATE_USER_HANDLER

public static final java.lang.String RA_CHECK_CREATE_USER_HANDLER
See Also:
Constant Field Values

RA_CREATE_USER_ACTION

public static final java.lang.String RA_CREATE_USER_ACTION
See Also:
Constant Field Values

RA_CREATE_USER_HANDLER

public static final java.lang.String RA_CREATE_USER_HANDLER
See Also:
Constant Field Values

RA_CHECK_UPDATE_USER_ACTION

public static final java.lang.String RA_CHECK_UPDATE_USER_ACTION
See Also:
Constant Field Values

RA_CHECK_UPDATE_USER_HANDLER

public static final java.lang.String RA_CHECK_UPDATE_USER_HANDLER
See Also:
Constant Field Values

RA_UPDATE_USER_ACTION

public static final java.lang.String RA_UPDATE_USER_ACTION
See Also:
Constant Field Values

RA_UPDATE_USER_HANDLER

public static final java.lang.String RA_UPDATE_USER_HANDLER
See Also:
Constant Field Values

RA_CHECK_DELETE_USER_ACTION

public static final java.lang.String RA_CHECK_DELETE_USER_ACTION
See Also:
Constant Field Values

RA_CHECK_DELETE_USER_HANDLER

public static final java.lang.String RA_CHECK_DELETE_USER_HANDLER
See Also:
Constant Field Values

RA_DELETE_USER_ACTION

public static final java.lang.String RA_DELETE_USER_ACTION
See Also:
Constant Field Values

RA_DELETE_USER_HANDLER

public static final java.lang.String RA_DELETE_USER_HANDLER
See Also:
Constant Field Values

RA_DISABLE_USER_ACTION

public static final java.lang.String RA_DISABLE_USER_ACTION
See Also:
Constant Field Values

RA_DISABLE_USER_HANDLER

public static final java.lang.String RA_DISABLE_USER_HANDLER
See Also:
Constant Field Values

RA_ENABLE_USER_ACTION

public static final java.lang.String RA_ENABLE_USER_ACTION
See Also:
Constant Field Values

RA_ENABLE_USER_HANDLER

public static final java.lang.String RA_ENABLE_USER_HANDLER
See Also:
Constant Field Values

RA_LISTALL_ACTION

public static final java.lang.String RA_LISTALL_ACTION
See Also:
Constant Field Values

RA_LISTALL_HANDLER

public static final java.lang.String RA_LISTALL_HANDLER
See Also:
Constant Field Values

RA_ACCT_ITER_ACTION

public static final java.lang.String RA_ACCT_ITER_ACTION
See Also:
Constant Field Values

RA_ACCT_ITER_HANDLER

public static final java.lang.String RA_ACCT_ITER_HANDLER
See Also:
Constant Field Values

RA_AUTHENTICATE_ACTION

public static final java.lang.String RA_AUTHENTICATE_ACTION
See Also:
Constant Field Values

RA_AUTHENTICATE_HANDLER

public static final java.lang.String RA_AUTHENTICATE_HANDLER
See Also:
Constant Field Values

RA_GET_ALL_ACTION

public static final java.lang.String RA_GET_ALL_ACTION
See Also:
Constant Field Values

RA_GET_ALL_HANDLER

public static final java.lang.String RA_GET_ALL_HANDLER
See Also:
Constant Field Values

RA_GET_FILE_ACTION

public static final java.lang.String RA_GET_FILE_ACTION
See Also:
Constant Field Values

RA_GET_FILE_HANDLER

public static final java.lang.String RA_GET_FILE_HANDLER
See Also:
Constant Field Values

RA_GET_INFO_ACTION

public static final java.lang.String RA_GET_INFO_ACTION
See Also:
Constant Field Values

RA_GET_INFO_HANDLER

public static final java.lang.String RA_GET_INFO_HANDLER
See Also:
Constant Field Values

RA_SET_INFO_ACTION

public static final java.lang.String RA_SET_INFO_ACTION
See Also:
Constant Field Values

RA_SET_INFO_HANDLER

public static final java.lang.String RA_SET_INFO_HANDLER
See Also:
Constant Field Values

RA_TEST_CONFIG_ACTION

public static final java.lang.String RA_TEST_CONFIG_ACTION
See Also:
Constant Field Values

RA_TEST_CONFIG_HANDLER

public static final java.lang.String RA_TEST_CONFIG_HANDLER
See Also:
Constant Field Values

RA_SCAN_ACTION

public static final java.lang.String RA_SCAN_ACTION
See Also:
Constant Field Values

RA_SCAN_HANDLER

public static final java.lang.String RA_SCAN_HANDLER
See Also:
Constant Field Values

RA_RESULT_HANDLER

public static final java.lang.String RA_RESULT_HANDLER
See Also:
Constant Field Values

RA_SCRIPT_SOURCE

public static final java.lang.String RA_SCRIPT_SOURCE
See Also:
Constant Field Values

RA_ATTR0

public static final java.lang.String RA_ATTR0
See Also:
Constant Field Values

RA_ATTR1

public static final java.lang.String RA_ATTR1
See Also:
Constant Field Values

RA_TIMEOUT

public static final java.lang.String RA_TIMEOUT
See Also:
Constant Field Values

RA_LIST_TIMEOUT

public static final java.lang.String RA_LIST_TIMEOUT
See Also:
Constant Field Values

RA_UPPERCASE_IDENTITY

public static final java.lang.String RA_UPPERCASE_IDENTITY
If true, always convert the identity to uppercase

See Also:
Constant Field Values

RA_ATTR_MAP_MODE

public static final java.lang.String RA_ATTR_MAP_MODE
See Also:
Constant Field Values

DIRECT_MAP_MODE

public static final java.lang.String DIRECT_MAP_MODE
Possible values for RA_ATTR_MAP_MODE

See Also:
Constant Field Values

STRING_MAP_MODE

public static final java.lang.String STRING_MAP_MODE
See Also:
Constant Field Values

RA_SUPPORTS_PASSWORDS

public static final java.lang.String RA_SUPPORTS_PASSWORDS
A boolean ("true" or "false") used to toggle the PASSWORD feature

See Also:
Constant Field Values
Constructor Detail

ScriptedGatewayResourceAdapter

public ScriptedGatewayResourceAdapter(Resource res,
                                      ObjectCache cache)

ScriptedGatewayResourceAdapter

public ScriptedGatewayResourceAdapter()

ScriptedGatewayResourceAdapter

public ScriptedGatewayResourceAdapter(com.waveset.adapter.ScriptedGatewayResultHandler resultHandler,
                                      ScriptedGatewayScriptSource scriptSource)
Method Detail

staticCreatePrototypeResource

public static Resource staticCreatePrototypeResource()
                                              throws WavesetException
Throws:
WavesetException

createPrototypeResource

public Resource createPrototypeResource()
                                 throws WavesetException
Specified by:
createPrototypeResource in interface ResourceAdapter
Specified by:
createPrototypeResource in class AgentResourceAdapter
Throws:
WavesetException

getFeatures

public GenericObject getFeatures()
Description copied from class: AgentResourceAdapter
Expose features supported by the Resource Adapter. Note: ActiveSync is considered a facet, not a feature.

Specified by:
getFeatures in interface ResourceAdapter
Overrides:
getFeatures in class AgentResourceAdapter
Returns:
GenericObject containing Features, as both key and value, which are supported by this resource adapter.
See Also:
ResourceAdapter.Features

getResultHandler

protected com.waveset.adapter.ScriptedGatewayResultHandler getResultHandler()

setResultHandler

protected void setResultHandler(com.waveset.adapter.ScriptedGatewayResultHandler resultHandler)

getScriptSource

protected ScriptedGatewayScriptSource getScriptSource()

setScriptSource

protected void setScriptSource(ScriptedGatewayScriptSource scriptSource)

extendWSAttributes

protected WSAttributes extendWSAttributes(java.lang.String cmd,
                                          WSAttributes wsAttrs)
                                   throws WavesetException
Overrides:
extendWSAttributes in class AgentResourceAdapter
Throws:
WavesetException

extendWSAttributes

protected WSAttributes extendWSAttributes(java.lang.String cmd,
                                          WSAttributes wsAttrs,
                                          WSUser wsUser)
                                   throws WavesetException
Throws:
WavesetException

defaultLoadUsersFromResponse

public WavesetResult defaultLoadUsersFromResponse(java.lang.String response,
                                                  java.util.ArrayList users)
                                           throws WavesetException
Throws:
WavesetException

loadUsersFromResponse

public WavesetResult loadUsersFromResponse(java.lang.String response,
                                           java.util.ArrayList users)
                                    throws WavesetException
Overrides:
loadUsersFromResponse in class AgentResourceAdapter
Throws:
WavesetException

defaultGetGenericObjectsFromResponse

public java.lang.String defaultGetGenericObjectsFromResponse(java.lang.String objectType,
                                                             java.lang.String response,
                                                             java.util.ArrayList objs)
                                                      throws WavesetException
Throws:
WavesetException

getGenericObjectsFromResponse

public java.lang.String getGenericObjectsFromResponse(java.lang.String objectType,
                                                      java.lang.String response,
                                                      java.util.ArrayList objs)
                                               throws WavesetException
Description copied from class: AgentResourceAdapter
Take the list of 's returned from the search request.

Overrides:
getGenericObjectsFromResponse in class AgentResourceAdapter
Throws:
WavesetException

defaultGetObjectFromResponse

public GenericObject defaultGetObjectFromResponse(java.lang.String response,
                                                  java.lang.String command,
                                                  java.lang.String objectType)
                                           throws WavesetException
Throws:
WavesetException

getObjectFromResponse

public GenericObject getObjectFromResponse(java.lang.String response,
                                           java.lang.String command,
                                           java.lang.String objectType)
                                    throws WavesetException
Overrides:
getObjectFromResponse in class AgentResourceAdapter
Throws:
WavesetException

getObjectListFromResponse

protected java.util.ArrayList getObjectListFromResponse(java.lang.String objectType,
                                                        java.lang.String response)
                                                 throws WavesetException
Overrides:
getObjectListFromResponse in class AgentResourceAdapter
Throws:
WavesetException

mapAttributes

protected WSAttributes mapAttributes(WSUser user,
                                     java.lang.String operation,
                                     boolean keepEncryptedType)
                              throws WavesetException
Overrides:
mapAttributes in class AgentResourceAdapter
Throws:
WavesetException

doCreateOrUpdateRequest

protected WavesetResult doCreateOrUpdateRequest(WSUser[] users,
                                                java.lang.String cmd)
                                         throws WavesetException
Overrides:
doCreateOrUpdateRequest in class AgentResourceAdapter
Throws:
WavesetException

getAttrParse

public AttrParse getAttrParse(java.lang.String attrParseName)
                       throws WavesetException
Overrides:
getAttrParse in class ResourceAdapterBase
Throws:
WavesetException

run

public WavesetResult run(ResourceAction action,
                         java.util.Map args)
                  throws WavesetException
Description copied from class: ResourceAdapterBase
This is NOT supported by default. If you have enabled the Featrues.ACTIONS feature, then this MUST be supported.

Specified by:
run in interface ResourceAdapter
Overrides:
run in class AgentResourceAdapter
Throws:
WavesetException

runAction

public boolean runAction(WSUser user,
                         WSAttributes wsAttrs,
                         java.lang.String command,
                         java.lang.String timing,
                         WavesetResult result)
                  throws WavesetException
Overrides:
runAction in class AgentResourceAdapter
Throws:
WavesetException

enterTestMode

public void enterTestMode()
                   throws WavesetException
Throws:
WavesetException

exitTestMode

public void exitTestMode()
                  throws WavesetException
Throws:
WavesetException

main

public static void main(java.lang.String[] args)