|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.repository.RepositoryService
@ThreadSafe public class RepositoryService
A service that manages the RepositorySource
es defined within a configuration repository.
Constructor Summary | |
---|---|
RepositoryService(RepositorySource configurationSource,
String configurationWorkspaceName,
Path pathToConfigurationRoot,
ExecutionContext context,
Problems problems)
Create a service instance, reading the configuration describing new RepositorySource instances from the supplied
configuration repository. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
ServiceAdministrator |
getAdministrator()
|
String |
getConfigurationSourceName()
|
String |
getConfigurationWorkspaceName()
|
ExecutionContext |
getExecutionEnvironment()
|
String |
getJndiName()
|
RepositoryLibrary |
getRepositoryLibrary()
Get the library of RepositorySource instances used by this service. |
void |
notify(Changes changes)
Method that is called for each set of changes from the Observable instance(s) with which this
observer is registered. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryService(RepositorySource configurationSource, String configurationWorkspaceName, Path pathToConfigurationRoot, ExecutionContext context, Problems problems)
RepositorySource
instances from the supplied
configuration repository.
configurationSource
- the RepositorySource
that is the configuration repositoryconfigurationWorkspaceName
- the name of the workspace in the RepositorySource
that is the configuration
repository, or null if the default workspace of the source should be used (if there is one)pathToConfigurationRoot
- 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 runproblems
- the Problems
instance that this service should use to report problems starting repositories
IllegalArgumentException
- if the bootstrap source is null or the execution context is nullMethod Detail |
---|
public final ServiceAdministrator getAdministrator()
getAdministrator
in interface AdministeredService
public final String getConfigurationSourceName()
public final String getConfigurationWorkspaceName()
public final RepositoryLibrary getRepositoryLibrary()
RepositorySource
instances used by this service.
public final ExecutionContext getExecutionEnvironment()
public String getJndiName()
public boolean equals(Object obj)
equals
in class Object
public void notify(Changes changes)
set of changes
from the Observable
instance(s) with which this
observer is registered.
notify
in interface Observer
changes
- the changes that are being publishedObserver.notify(org.jboss.dna.graph.observe.Changes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |