Package edu.uiuc.ncsa.sas.client
Class ClientProvider<V extends SASClient>
- java.lang.Object
-
- edu.uiuc.ncsa.sas.client.ClientProvider<V>
-
- All Implemented Interfaces:
SASConstants
,IdentifiableProvider<V>
,javax.inject.Provider<V>
public class ClientProvider<V extends SASClient> extends Object implements IdentifiableProvider<V>, SASConstants
Created by Jeff Gaynor
on 8/15/22 at 9:39 AM
-
-
Field Summary
-
Fields inherited from interface edu.uiuc.ncsa.sas.SASConstants
ACTION_EXECUTE, ACTION_INVOKE, ACTION_LOGOFF, ACTION_LOGON, ACTION_NEW_KEY, CLIENT_ID_HEAD, HEADER_SESSION_ID, KEYS_ACTION, KEYS_ARGUMENT, KEYS_COMMENT, KEYS_EXECUTABLE_NAME, KEYS_INTERNAL_ID, KEYS_METHOD, KEYS_PROMPT, KEYS_SAS, KEYS_STATE, KEYS_SUBJECT, KEYS_SUBJECT_ID, KEYS_SUBJECT_SESSION_ID, KEYS_TYPE, REQUEST_TYPE, RESPONSE_CONTENT, RESPONSE_MESSAGE, RESPONSE_PROMPT, RESPONSE_SESSION_ID, RESPONSE_STATUS, RESPONSE_STATUS_ERROR, RESPONSE_STATUS_OK, RESPONSE_SYMMETRIC_KEY, RESPONSE_TYPE, RESPONSE_TYPE_ERROR, RESPONSE_TYPE_LOGOFF, RESPONSE_TYPE_LOGON, RESPONSE_TYPE_NEW_KEY, RESPONSE_TYPE_OUTPUT, RESPONSE_TYPE_PROMPT
-
-
Constructor Summary
Constructors Constructor Description ClientProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description V
get()
V
get(boolean createNewIdentifier)
Create a new Identifiable object and create a new identifier if true.static boolean
isClientID(String x)
-
-
-
Method Detail
-
get
public V get(boolean createNewIdentifier)
Description copied from interface:IdentifiableProvider
Create a new Identifiable object and create a new identifier if true. The no-arg call toProvider.get()
should be the same asget(true)
.- Specified by:
get
in interfaceIdentifiableProvider<V extends SASClient>
- Returns:
-
isClientID
public static boolean isClientID(String x)
-
-