net.sf.jso.schema
Class JSOSchemaProxy

java.lang.Object
  extended bynet.sf.jso.schema.JSOSchemaCache
      extended bynet.sf.jso.schema.JSOSchemaProxy
All Implemented Interfaces:
SchemaCache, SchemaProxy

public class JSOSchemaProxy
extends JSOSchemaCache
implements SchemaProxy

Proxy for a schema manager.


Constructor Summary
JSOSchemaProxy(SchemaManager aSchema)
          Constructs schema proxy.
 
Method Summary
 StorableClass getStorableClass(java.lang.Class aClass)
          Returns a class' corresponding storable class from schema, if not in cache.
 
Methods inherited from class net.sf.jso.schema.JSOSchemaCache
get, invalidade, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jso.schema.SchemaCache
get, invalidade, put
 

Constructor Detail

JSOSchemaProxy

public JSOSchemaProxy(SchemaManager aSchema)
Constructs schema proxy.

Parameters:
aSchema - Schema manager to be used.
Method Detail

getStorableClass

public StorableClass getStorableClass(java.lang.Class aClass)
                               throws StorageException
Returns a class' corresponding storable class from schema, if not in cache.

Specified by:
getStorableClass in interface SchemaProxy
Parameters:
aClass - The class to which the corresponding storable class should be returned.
Returns:
The class' corresponding storable class.
Throws:
StorageException