| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IStubHandler
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)
| Field Summary | |
|---|---|
static String | 
NIO_PROTOCOL
NIO protocol constant  | 
static String | 
RMI_PROTOCOL
RMI protocol constant  | 
| Method Summary | |
|---|---|
 Remote | 
exportObject(Remote obj)
Exports the remote object to make it available to receive incoming calls.  | 
 void | 
init(String spaceName,
     String containerName)
 | 
 void | 
unexportObject(Remote obj,
               boolean force)
Removes the remote object, obj, from the StubHandler runtime.  | 
| Field Detail | 
|---|
static final String RMI_PROTOCOL
static final String NIO_PROTOCOL
| Method Detail | 
|---|
void init(String spaceName,
          String containerName)
spaceName - space namecontainerName - container name
Remote exportObject(Remote obj)
                    throws RemoteException
obj - the remote object to be exported
RemoteException - if export fails
void unexportObject(Remote obj,
                    boolean force)
                    throws RemoteException
subject - the object to disable stub for
RemoteException - Failed to unexport object.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||