Class RepositoryComponent

  extended by
      extended by

public abstract class RepositoryComponent
extends ModelExposerComponent

Superclass for repository components - ie., those that provide facilities for finding and locating domain objects in the datastore. Extend this class to make your application specific repositories. Typically these will include query methods written to an persistence engine specific query API and query language. Ideally you should provide an abstract superclass for each type of repository you require and then provide a concrete implementation for your specific persistence engine and name them appropriately (eg., HibernateRoleManagerRepository or JdoRoleManagerRepository, IBatisRoleManagerRepository). Structuring your repositories in this way makes your application code (GUI and model) completely independent of any particular persistence engine.

Field Summary
Fields inherited from class
modelExposer, name
Constructor Summary
Method Summary
Methods inherited from class
getName, getPersistenceProvider, init, setModelExposer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public RepositoryComponent()