org.elkoserver.server.context
Interface InternalObject

All Superinterfaces:
Referenceable
All Known Implementing Classes:
AdminObject, BankClient, BasicInternalObject

public interface InternalObject
extends Referenceable

Interface implemented by static objects that wish to have access to the internal state of the server, and rather than being self-contained entities.


Method Summary
 void activate(String ref, Contextor contextor)
          Make this object live inside the context server.
 Contextor contextor()
          Obtain the contextor for this server.
 
Methods inherited from interface org.elkoserver.json.Referenceable
ref
 

Method Detail

activate

void activate(String ref,
              Contextor contextor)
Make this object live inside the context server.

Parameters:
ref - Reference string identifying this object in the static object table.
contextor - The contextor for this server.

contextor

Contextor contextor()
Obtain the contextor for this server.

Returns:
the Contextor object for this server.