|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.repository.DnaConfiguration.ConfigurationDefinition
@Immutable public static class DnaConfiguration.ConfigurationDefinition
Representation of the current configuration content.
Method Summary | |
---|---|
ClassLoaderFactory |
getClassLoaderFactory()
|
ExecutionContext |
getContext()
|
Path |
getPath()
Get the path in the configuration repository where the configuration content may be found |
RepositorySource |
getRepositorySource()
Get the repository source where the configuration content may be found |
String |
getWorkspace()
Get the name of the workspace used for the configuration repository. |
Graph |
graph()
Obtain a graph to this configuration repository. |
DnaConfiguration.ConfigurationDefinition |
with(ClassLoaderFactory classLoaderFactory)
Return a copy of this configuration that uses the supplied class loader factory instead of this object's class loader factory . |
DnaConfiguration.ConfigurationDefinition |
with(Path path)
Return a copy of this configuration that uses the supplied path instead of this object's path . |
DnaConfiguration.ConfigurationDefinition |
withWorkspace(String workspace)
Return a copy of this configuration that uses the supplied workspace name instead of this object's workspace . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public RepositorySource getRepositorySource()
public Path getPath()
public String getWorkspace()
public ExecutionContext getContext()
public ClassLoaderFactory getClassLoaderFactory()
public DnaConfiguration.ConfigurationDefinition with(Path path)
path
.
path
- the desired path for the new configuration; if null, then "/" is used
public DnaConfiguration.ConfigurationDefinition withWorkspace(String workspace)
workspace
.
workspace
- the desired workspace name for the new configuration; if null, then the default workspace will be used
public DnaConfiguration.ConfigurationDefinition with(ClassLoaderFactory classLoaderFactory)
class loader factory
.
classLoaderFactory
- the classloader factory, or null if the default factory should be used
public Graph graph()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |