|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.repository.RepositoryService
@ThreadSafe public class RepositoryService
| Nested Class Summary | |
|---|---|
protected class |
RepositoryService.Administrator
The administrative component for this service. |
| Constructor Summary | |
|---|---|
RepositoryService(RepositoryLibrary sources,
String configurationSourceName,
org.jboss.dna.graph.ExecutionContext context)
Create a service instance, reading the configuration describing new RepositorySource instances from the source with
the supplied name. |
|
RepositoryService(RepositoryLibrary sources,
String configurationSourceName,
org.jboss.dna.graph.properties.Path pathToConfigurationRoot,
org.jboss.dna.graph.ExecutionContext context)
Create a service instance, reading the configuration describing new RepositorySource instances from the source with
the supplied name and path within the repository. |
|
| Method Summary | |
|---|---|
protected org.jboss.dna.graph.connectors.RepositorySource |
createRepositorySource(org.jboss.dna.graph.properties.Path path,
Map<org.jboss.dna.graph.properties.Name,org.jboss.dna.graph.properties.Property> properties,
org.jboss.dna.common.collection.Problems problems)
Instantiate the RepositorySource described by the supplied properties. |
boolean |
equals(Object obj)
|
ServiceAdministrator |
getAdministrator()
|
String |
getConfigurationSourceName()
|
org.jboss.dna.graph.ExecutionContext |
getExecutionEnvironment()
|
String |
getJndiName()
|
RepositoryLibrary |
getRepositorySourceManager()
|
protected void |
startService()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryService(RepositoryLibrary sources,
String configurationSourceName,
org.jboss.dna.graph.ExecutionContext context)
RepositorySource instances from the source with
the supplied name.
sources - the source managerconfigurationSourceName - the name of the RepositorySource that is the configuration repositorycontext - the execution context in which this service should run
IllegalArgumentException - if the bootstrap source is null or the execution context is null
public RepositoryService(RepositoryLibrary sources,
String configurationSourceName,
org.jboss.dna.graph.properties.Path pathToConfigurationRoot,
org.jboss.dna.graph.ExecutionContext context)
RepositorySource instances from the source with
the supplied name and path within the repository.
sources - the source managerconfigurationSourceName - the name of the RepositorySource that is the configuration repositorypathToConfigurationRoot - the path of the node in the configuration source repository that should be treated by this
service as the root of the service's configuration; if null, then "/dna:system" is usedcontext - the execution context in which this service should run
IllegalArgumentException - if the bootstrap source is null or the execution context is null| Method Detail |
|---|
public ServiceAdministrator getAdministrator()
getAdministrator in interface AdministeredServicepublic String getConfigurationSourceName()
public RepositoryLibrary getRepositorySourceManager()
public org.jboss.dna.graph.ExecutionContext getExecutionEnvironment()
public String getJndiName()
protected void startService()
protected org.jboss.dna.graph.connectors.RepositorySource createRepositorySource(org.jboss.dna.graph.properties.Path path,
Map<org.jboss.dna.graph.properties.Name,org.jboss.dna.graph.properties.Property> properties,
org.jboss.dna.common.collection.Problems problems)
RepositorySource described by the supplied properties.
path - the path to the node where these properties were found; never nullproperties - the properties; never nullproblems - the problems container in which any problems should be reported; never null
public boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||