org.jpox.store
Interface StoreSchemaHandler


public interface StoreSchemaHandler

Interface defining schema operation for a StoreManager. TODO How is the schema data set ? Maybe in initialise()?


Method Summary
 void createSchema(ManagedConnection conn, java.lang.String schemaName)
          Method to create the specified schema.
 void deleteSchema(ManagedConnection conn, java.lang.String schemaName)
          Method to delete the specified schema.
 StoreSchemaData getSchemaData(java.lang.String name)
          Accessor for schema data stored under the provided name.
 void initialise(ManagedConnection conn)
          Method to initialise the schema.
 

Method Detail

initialise

void initialise(ManagedConnection conn)
Method to initialise the schema.

Parameters:
conn - Connection to the datastore for obtaining any information.

createSchema

void createSchema(ManagedConnection conn,
                  java.lang.String schemaName)
Method to create the specified schema.

Parameters:
schemaName - Name of the schema

deleteSchema

void deleteSchema(ManagedConnection conn,
                  java.lang.String schemaName)
Method to delete the specified schema.

Parameters:
schemaName - Name of the schema

getSchemaData

StoreSchemaData getSchemaData(java.lang.String name)
Accessor for schema data stored under the provided name.

Returns:
Schema data definition for this name


Copyright © -2008 . All Rights Reserved.