Package com.j_spaces.core
Interface IStubHandler
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
LRMIStubHandlerImpl
Deprecated.
Since 8.0 - This class is reserved for internal usage only.
A filter that contains functions to control the life cycle of a space related stub. It can be
used to implement SSL security in (some of the) space stubs or create a stub that implements a
different protocol from the com.j_spaces.core.StubHandlerImpl which is the default GigaSpaces
implementation (non-secure RMI)
- Version:
- 1.0
- Author:
- Igor Goldenberg
-
Method Summary
Modifier and TypeMethodDescriptionexportObject(Remote obj) Deprecated.Exports the remote object to make it available to receive incoming calls.Deprecated.Returns the default transport config associated with this stub handlervoidunexportObject(Remote obj) Deprecated.Removes the remote object, obj, from the StubHandler runtime.
-
Method Details
-
exportObject
Deprecated.Exports the remote object to make it available to receive incoming calls.- Parameters:
obj- the remote object to be exported- Returns:
- remote object stub
- Throws:
RemoteException- if export failsExportException
-
unexportObject
Deprecated.Removes the remote object, obj, from the StubHandler runtime. If successful, the object can no longer accept incoming RMI calls.- Parameters:
obj- the object to disable stub for
-
getTransportConfig
ITransportConfig getTransportConfig()Deprecated.Returns the default transport config associated with this stub handler- Returns:
- default transport config associated with this stub handler
-