KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > persistence > api > ClassPersistor


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.objectserver.persistence.api;
5
6 import java.util.Map JavaDoc;
7
8 public interface ClassPersistor {
9
10   public void storeClass(int clazzId, byte clazzBytes[]);
11
12   public byte[] retrieveClass(int clazzId);
13
14   /**
15    * @return a map containing all the stored classes (Integer -> byte[])
16    */

17   public Map JavaDoc retrieveAllClasses();
18   
19 }
20
Popular Tags