com.ibm.mashups.enabler.persistence
Interface Factory


public Factory

Persistence provider factory. Please note that this factory creates only one instance of the persistence provider and returns this instance every time the respective get-method is called.

Since:
3.0.0.1

Method Summary
 ModelPersistenceProvider getModelPersistenceProvider(Constants type)
           Returns the model persistence provider.
 

Method Detail

getModelPersistenceProvider

ModelPersistenceProvider getModelPersistenceProvider(Constants type)
Returns the model persistence provider.
Example:
  var type = com.ibm.mashups.enabler.persistence.Constants.NAVIGATION_MODEL_PERSISTENCE_PROVIDER;
  var provider = com.ibm.mashups.enabler.persistence.Factory.getModelPersistenceProvider(type);

Parameters:
type - type of the persistence provider
Returns:
model persistence provider of the specified type, never null


Copyright IBM Corp. 2010 All Rights Reserved.