| 
 | ||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
PathRepository class and its supporting classes provide a default read-only implementation of the connector
 classes for connectors that only support path-based access to a standard
 representation of a node.
See:
          Description

| Interface Summary | |
|---|---|
| PathNode | Basic interface for a read-only node in a path repository. | 
| PathRepositorySource | An extension of the RepositorySourceclass that provides acache policyand arepository context. | 
| PathRepositoryTransaction | A transaction for a PathRepository. | 
| PathWorkspace | |
| WritablePathWorkspace | Extension of PathWorkspacefor repositories that support modification of nodes as well as access to the nodes. | 
| Class Summary | |
|---|---|
| AbstractPathRepositorySource | Basic implementation of the trivial PathRepositorySourcemethods and thepath
 repository cache life cycle. | 
| AbstractWritablePathWorkspace | Implementation of some methods from WritablePathWorkspaceto assist in the development of path-based connectors. | 
| DefaultPathNode | Default immutable implementation of PathNode | 
| PathRepository | |
| PathRepositoryConnection | |
| PathRequestProcessor | The default implementation of the RequestProcessorfor path repositories. | 
| WritablePathRepository | Extension of PathRepositoryfor repositories that support modification of nodes as well as access to the nodes. | 
The PathRepository class and its supporting classes provide a default read-only implementation of the connector
 classes for connectors that only support path-based access to a standard
 representation of a node.  Connectors to systems that provide a unique identifier for each node would generally be better implemented using the map repository implementation instead.
 To implement a connector based on this framework, one must create an implementation of the repository source,
 an implementation of the repository itself, and an implementation of the workspace.
 
 The repository source implementation contains properties for the repository configuration and caching policies.  A key
 method in the PathRepositorySource implementation if the RepositorySource.getConnection() method,
 which should generally be implemented using the default connection implementation.
 
 if (repository == null) {
  repository = new JdbcMetadataRepository(this);
 }
 return new MapRepositoryConnection(this, repository); 
 
 
 
 The repository implementation is only required to provide an implementation of the PathRepository.initialize()
 method to initialize the repository with a default workspace implementation for the connector and an implementation of PathWorkspace.  All constructors for the repository must 
 call PathRepository.initialize() after the constructor has completed its initialization, as demonstrated below:
 
 public JdbcMetadataRepository( JdbcMetadataSource source ) {
   initialize();
 }
 
 
| 
 | ||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||