|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.deployment.ActivatableWrapper
@SASScope(value="ALL") @BinaryCompatibilityOnly public class ActivatableWrapper
Activatable wrapper used to register a description of a remoteable object with the RMI daemon, rmid.
| Constructor Summary | |
|---|---|
ActivatableWrapper(java.lang.String securityPolicyFile,
java.lang.String location,
java.lang.String className,
java.lang.String bindName)
Constructor specifying a security policy file, class codebase, activatable class, and its bind name. |
|
ActivatableWrapper(java.lang.String securityPolicyFile,
java.lang.String location,
java.lang.String className,
java.lang.String bindName,
java.lang.Object marshalledDataObject,
RMIConfiguration rmiConfiguration)
Constructor specifying a security policy file, class codebase, activatable class, and its bind name. |
|
| Method Summary | |
|---|---|
java.rmi.Remote |
deploy()
Registers information about an activatable object with rmid and the rmiregistry. |
java.rmi.MarshalledObject |
getMarshalledData()
Gets the marshaled object. |
java.lang.Object |
getMarshalledDataObject()
Gets the marshaled data object. |
void |
setMarshalledDataObject(java.lang.Object data)
Sets data to be marshalled for use by the activatable object. |
| Constructor Detail |
|---|
public ActivatableWrapper(java.lang.String securityPolicyFile,
java.lang.String location,
java.lang.String className,
java.lang.String bindName)
throws java.io.IOException
securityPolicyFile - Security policy file.location - Codebase directory path.className - Activatable class name.bindName - Bind name.
java.io.IOException - if an I/O anomaly is encountered.
public ActivatableWrapper(java.lang.String securityPolicyFile,
java.lang.String location,
java.lang.String className,
java.lang.String bindName,
java.lang.Object marshalledDataObject,
RMIConfiguration rmiConfiguration)
throws java.io.IOException
securityPolicyFile - Security policy file.location - Codebase directory path.className - Activatable class name.bindName - Bind name.marshalledDataObject - Marshaled data object or null
if there is no initialization data object.rmiConfiguration - RMI configuration that defines the desired rmiregistry.
java.io.IOException - if an I/O anomaly is encountered.| Method Detail |
|---|
public final void setMarshalledDataObject(java.lang.Object data)
throws java.io.IOException
data - Data to be marshaled.
java.io.IOException - in unable to marshall the data object.
public final java.lang.Object getMarshalledDataObject()
throws ServiceException
null if no object
is specified.
ServiceException - if unable to obtain the marshalled data. This
exception will be thrown in response to an IOException or ClassNotFoundException.
public final java.rmi.MarshalledObject getMarshalledData()
throws java.io.IOException
java.io.IOException - if an I/O issue is encountered.
public java.rmi.Remote deploy()
throws ServiceException
Remote object.
ServiceException - if unable to deploy the service.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||