GigaSpaces XAP 10.0.1 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(boolean fromGateway)
           
SpaceContext(SecurityContext securityContext)
           
 
Method Summary
 SpaceContext createCopy(SecurityContext newSecurityContext)
           
 SecurityContext getSecurityContext()
           
 boolean isFromGateway()
           
 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(boolean fromGateway)
Method Detail

createCopy

public SpaceContext createCopy(SecurityContext newSecurityContext)

getSecurityContext

public SecurityContext getSecurityContext()

isFromGateway

public boolean isFromGateway()

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 10.0.1 API

Copyright © GigaSpaces.