|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.storedprocess.metadata.StoredProcessOptions
public class StoredProcessOptions
Options object used to control the type and behavior of the Stored Process
service object. Typical use is to obtain a StoredProcessOptions object by
invoking the StoredProcessOptions()
constructor and then calling
various setters to configure the object. After configuration, the object is
used as a parameter to one of the newServiceObject methods of
StoredProcessInterface
. Once the parameter is consumed by the called
newServiceObject method, the object is sealed and calling any setters after
it is sealed results in the setter method throwing an IllegalStateException.
The effect of the various settings is comprehensively covered in the
documentation for
StoredProcessServiceInterface.newStoredProcess(StoredProcessInterface, StoredProcessOptions)
.
Constructor Summary | |
---|---|
StoredProcessOptions()
Constructs a StoredProcessOptions object. |
Method Summary | |
---|---|
SessionContextInterface |
getSessionContextInterface()
|
com.sas.util.UsageVersion |
getUsageVersion()
|
boolean |
isSealed()
Describes whether this options object is sealed. |
void |
seal()
Seal the options object. |
void |
setSessionContextInterface(SessionContextInterface sessionContext)
Sets the SessionContextInterface. |
Constructor Detail |
---|
public StoredProcessOptions()
StoredProcessInterface.NINETWO_VERSION
and is only used for manually created stored processes.
For complete details of the effects of all settings see
StoredProcessServiceInterface.newStoredProcess(StoredProcessInterface, StoredProcessOptions)
.
Method Detail |
---|
public void setSessionContextInterface(SessionContextInterface sessionContext)
For complete details of the effects of all settings see
StoredProcessServiceInterface.newStoredProcess(StoredProcessInterface, StoredProcessOptions)
.
sessionContext
- see above
java.lang.IllegalStateException
- if the object is sealedpublic SessionContextInterface getSessionContextInterface()
public com.sas.util.UsageVersion getUsageVersion()
public boolean isSealed()
public void seal()
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |