org.objectweb.carol.rmi.jrmp.interceptor
Class JContextStore

java.lang.Object
  extended by org.objectweb.carol.rmi.jrmp.interceptor.JContextStore

public class JContextStore
extends java.lang.Object

Class JContextObjectStore is the CAROL JRMP Client Interceptor Contexts Storage System

Version:
1.0, 10/03/2003
Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

Field Summary
static java.util.ArrayList lists
           
 
Constructor Summary
JContextStore()
           
 
Method Summary
static java.lang.Object getObject(int key)
          Get an object from the store and remove it from the arrayList.
static int storeObject(java.lang.Object ob)
          Stote an object context
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lists

public static java.util.ArrayList lists
Constructor Detail

JContextStore

public JContextStore()
Method Detail

storeObject

public static int storeObject(java.lang.Object ob)
Stote an object context


getObject

public static java.lang.Object getObject(int key)
Get an object from the store and remove it from the arrayList. Mark empty slots in the arrayList with Boolean.FALSE.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object