| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.repository.SimpleRepositoryContext
@Immutable public class SimpleRepositoryContext

A simple, immutable RepositoryContext implementation that uses the references supplied as parameters to the
 constructor.
| Constructor Summary | |
|---|---|
| SimpleRepositoryContext(ExecutionContext context,
                        Observer observer,
                        RepositoryConnectionFactory connectionFactory) | |
| Method Summary | |
|---|---|
|  Subgraph | getConfiguration(int depth)Get a snapshot of the current configuration for the RepositorySource. | 
|  ExecutionContext | getExecutionContext()Get the execution context, which can be used to create other contexts with specific JAAS security contexts. | 
|  Observer | getObserver()Get the observer that the connector may use to publish changes. | 
|  RepositoryConnectionFactory | getRepositoryConnectionFactory()Get the factory for connectionsto other sources. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SimpleRepositoryContext(ExecutionContext context,
                               Observer observer,
                               RepositoryConnectionFactory connectionFactory)
| Method Detail | 
|---|
public Subgraph getConfiguration(int depth)
RepositorySource. The root of the subgraph will be the node in
 the configuration that represents the RepositorySource.
getConfiguration in interface RepositoryContextdepth - the max depth of the configuration subgraph
RepositoryContext.getConfiguration(int)public ExecutionContext getExecutionContext()
getExecutionContext in interface RepositoryContextRepositoryContext.getExecutionContext()public Observer getObserver()
getObserver in interface RepositoryContextRepositoryContext.getObserver()public RepositoryConnectionFactory getRepositoryConnectionFactory()
connections to other sources.
getRepositoryConnectionFactory in interface RepositoryContextRepositoryContext.getRepositoryConnectionFactory()| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||