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, and is used by the filters to validate and process space functions.

See Also:
ISpaceFilter, Serialized Form

Field Summary
 SecurityContext m_SecurityContext
          An attached SecurityContext.
 
Constructor Summary
SpaceContext()
           
 
Method Summary
 SecurityContext getSecurityContext()
          Gets the security context.
 void readExternal(ObjectInput in)
          
 void setSecurityContext(SecurityContext context)
          Sets the security context.
 void writeExternal(ObjectOutput out)
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_SecurityContext

public SecurityContext m_SecurityContext
An attached SecurityContext.

See Also:
setSecurityContext(SecurityContext)
Constructor Detail

SpaceContext

public SpaceContext()
Method Detail

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

setSecurityContext

public void setSecurityContext(SecurityContext context)
Sets the security context.

Parameters:
context - the SecurityContext

getSecurityContext

public SecurityContext getSecurityContext()
Gets the security context.

Returns:
the security context