|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoredProcessServiceInterface
This interface describes a stored process service. It is used to create various objects that are used to represent and run stored processes in the Platform Services context.
Field Summary | |
---|---|
static java.lang.String |
EVENT_NAME
Name of the event created by StoredProcessAlertItemInterface . |
static java.lang.String |
NAMESPACE
Name of the name space used by the Stored Process service for alert/event creation. |
Fields inherited from interface com.sas.services.RemoteServiceInterface |
---|
CLASS_IDENTIFIER, CLASS_IDENTIFIER_1_1, CLASS_IDENTIFIER_1_2, CLASS_IDENTIFIER_SERVICE_TYPE, CLASS_IDENTIFIER_SERVICE_TYPE_1_1, CLASS_IDENTIFIER_SERVICE_TYPE_1_2 |
Method Summary | |
---|---|
java.lang.String |
getClientName()
Returns the client name. |
java.lang.Object |
newStoredProcess(int serverType,
StoredProcessOptions options)
Create an instance of the current version of a Stored Process service object to be defined by the user. |
StoredProcessInterface |
newStoredProcess(SessionContextInterface sessionContext,
int serverType,
int resultType)
Deprecated. The StoredProcessInterface
service object returned by this method cannot be used with the
Prompting Framework.
See #newStoredProcess(int, int, StoredProcessOptions) . |
StoredProcessInterface |
newStoredProcess(SessionContextInterface sessionContext,
StoredProcessInterface storedProcessSmartObject)
Deprecated. The StoredProcessInterface
service object returned by this method cannot be used to avail of features introduced
in 9.2 or later.
See newStoredProcess(com.sas.services.storedprocess.metadata.StoredProcessInterface, StoredProcessOptions) . |
java.lang.Object |
newStoredProcess(StoredProcessInterface smartObject,
StoredProcessOptions options)
Create an instance of a Stored Process service object from metadata using the provided smart object. |
void |
setClientName(java.lang.String clientName)
Sets the client name. |
Methods inherited from interface com.sas.services.RemoteServiceInterface |
---|
configure, destroy, getCreationTime, getServiceConfiguration, getServiceConfiguration, getServiceProxy, getServiceState, isAccessibleToRemoteClients, isExported, reconfigure, setServiceState |
Methods inherited from interface com.sas.services.mgmt.ServiceNotificationBroadcasterInterface |
---|
addServiceObserver, notifyServiceObservers, removeAllServiceObservers, removeServiceObserver |
Field Detail |
---|
static final java.lang.String NAMESPACE
static final java.lang.String EVENT_NAME
StoredProcessAlertItemInterface
.
Method Detail |
---|
StoredProcessInterface newStoredProcess(SessionContextInterface sessionContext, StoredProcessInterface storedProcessSmartObject) throws InitializationException, TransportException, java.rmi.RemoteException
StoredProcessInterface
service object returned by this method cannot be used to avail of features introduced
in 9.2 or later.
See newStoredProcess(com.sas.services.storedprocess.metadata.StoredProcessInterface, StoredProcessOptions)
.
The typical client does not invoke this method, but uses the
Information Service
to find stored processes and invokes one of the newServiceObject methods of the
Stored Process smart object
to create new stored process service objects.
sessionContext
- specifies the SessionContextInterface
under which the stored process will be exploitedstoredProcessSmartObject
- specifies the stored
process smart object which describes the stored process
StoredProcessInterface
representing the created stored
process object
java.rmi.RemoteException
- if a network anomaly is encountered.
java.lang.IllegalArgumentException
- if the sessionContext is null
java.lang.IllegalStateException
- if the service has been destroyed
TransportException
- if the OMR layer encountered problems
InitializationException
- if the metadata was ill-formed or is not the original versionjava.lang.Object newStoredProcess(StoredProcessInterface smartObject, StoredProcessOptions options) throws InitializationException, TransportException, java.rmi.RemoteException
The typical client does not invoke this method, but uses the
Information Service
to find stored processes and invokes one of the newServiceObject methods of the
Stored Process smart object
to create a service object.
The StoredProcessOptions
options parameter controls
behavior as follows:
StoredProcessInterface.NINETWO_VERSION
) stored process based
service object.
read compatible
for a service
object to be returned.
smartObject
- the smart object from which the service object is createdoptions
- controls behavior as described
InitializationException
- if the metadata was ill-formed or the smart object was ill-formed or not read compatible
TransportException
java.rmi.RemoteException
StoredProcessInterface newStoredProcess(SessionContextInterface sessionContext, int serverType, int resultType) throws java.lang.IllegalArgumentException, java.rmi.RemoteException
StoredProcessInterface
service object returned by this method cannot be used with the
Prompting Framework.
See #newStoredProcess(int, int, StoredProcessOptions)
.
sessionContext
- specifies the SessionContextInterface
under which the stored process will be exploited, can be nullserverType
- specifies the server on which this stored process will execute.
Either
StoredProcessBaseInterface.SERVER_TYPE_STOREDPROCESS
orStoredProcessBaseInterface.SERVER_TYPE_WORKSPACE
resultType
- specifies the type of result
StoredProcessBaseInterface.SERVER_TYPE_STOREDPROCESS
valid values
for resultType are:
StoredProcessBaseInterface.SERVER_TYPE_WORKSPACE
valid values for resultType
are:
StoredProcessInterface
representing the created stored
process object
java.rmi.RemoteException
- if a network anomaly is encountered.
java.lang.IllegalArgumentException
- if an invalid value is specified for serverType or resultType.
java.lang.IllegalStateException
- if the service has been destroyedjava.lang.Object newStoredProcess(int serverType, StoredProcessOptions options) throws java.lang.IllegalArgumentException, InitializationException, java.rmi.RemoteException
The StoredProcessOptions
options parameter controls behavior as follows:
serverType
- specifies the server on which this stored process will execute.
Either
StoredProcessBaseInterface.SERVER_TYPE_STOREDPROCESS
orStoredProcessBaseInterface.SERVER_TYPE_WORKSPACE
StoredProcessBaseInterface.SERVER_TYPE_STOREDPROCESS
and with only
package capability if the serverType is
StoredProcessBaseInterface.SERVER_TYPE_WORKSPACE
.options
- as described above
java.rmi.RemoteException
- if a network anomaly is encountered
InitializationException
- if there was an initialization exception of some kind
java.lang.IllegalStateException
- if the service has been destroyed
java.lang.IllegalArgumentException
void setClientName(java.lang.String clientName) throws java.rmi.RemoteException
clientName
- client name
java.rmi.RemoteException
java.lang.String getClientName() throws java.rmi.RemoteException
setClientName(String)
was with a non-null parameter.
java.rmi.RemoteException
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |