|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.dna.repository.DnaConfiguration.ConfigurationDefinition
@Immutable public static class DnaConfiguration.ConfigurationDefinition
Representation of the current configuration content.
Method Summary | |
---|---|
ClassLoaderFactory |
getClassLoaderFactory()
|
ExecutionContext |
getContext()
|
String |
getName()
Get the name of this configuration. |
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 |
with(String name)
Return a copy of this configuration that uses the supplied name 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 String getName()
public RepositorySource getRepositorySource()
public Path getPath()
public String getWorkspace()
public ExecutionContext getContext()
public ClassLoaderFactory getClassLoaderFactory()
public DnaConfiguration.ConfigurationDefinition with(String name)
path
.
name
- the desired name for the new configuration; if null, then the name of this configuration is used
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 |