GigaSpaces XAP 9.5 API

com.j_spaces.core
Class SpaceContext

java.lang.Object
  extended by com.j_spaces.core.SpaceContext
All Implemented Interfaces:
Externalizable, Serializable

public class SpaceContext
extends Object
implements Externalizable

The SpaceContext class defines context info passed from the proxy to the space. In general, when there is no context information, the context reference is null.

See Also:
Serialized Form

Constructor Summary
SpaceContext()
          Empty constructor for Externalizable impl.
SpaceContext(SecurityContext securityContext)
           
SpaceContext(SecurityContext securityContext, com.gigaspaces.internal.cluster.node.impl.gateway.ReplicationContext replicationContext)
           
 
Method Summary
 com.gigaspaces.internal.cluster.node.impl.gateway.ReplicationContext getReplicationContext()
          This is for internal usage only and subject to change.
 SecurityContext getSecurityContext()
           
 void readExternal(ObjectInput in)
          
 void writeExternal(ObjectOutput out)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceContext

public SpaceContext()
Empty constructor for Externalizable impl.


SpaceContext

public SpaceContext(SecurityContext securityContext)

SpaceContext

public SpaceContext(SecurityContext securityContext,
                    com.gigaspaces.internal.cluster.node.impl.gateway.ReplicationContext replicationContext)
Method Detail

getSecurityContext

public SecurityContext getSecurityContext()

getReplicationContext

public com.gigaspaces.internal.cluster.node.impl.gateway.ReplicationContext getReplicationContext()
This is for internal usage only and subject to change.


writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException

Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException

Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

GigaSpaces XAP 9.5 API

Copyright © GigaSpaces.