GigaSpaces XAP 7.0 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)
           
 
Method Summary
 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)
Method Detail

getSecurityContext

public SecurityContext getSecurityContext()

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

Copyright © GigaSpaces.