|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ReturnType - public static interface JcrConfiguration.RepositoryDefinition<ReturnType>

Interface used to define a JCR Repository that's accessible from the JcrEngine.
| Method Summary | |
|---|---|
JcrConfiguration.RepositoryDefinition<ReturnType> |
addNodeTypes(File cndFile)
Specify that the CND file is to be loaded into the repository. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
addNodeTypes(InputStream cndContent)
Specify that the CND file is to be loaded into the repository. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
addNodeTypes(String pathToCndFile)
Specify that the CND file located at the supplied path should be loaded into the repository. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
addNodeTypes(URL urlOfCndFile)
Specify that the CND file is to be loaded into the repository. |
String |
getOption(JcrRepository.Option option)
Get the value for the repository option. |
String |
getSource()
Get the name of the repository source that is to be used by this JCR repository. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
registerNamespace(String prefix,
String uri)
Specify the namespace binding that should be made available in this repository. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
boolean value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
double value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
float value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
int value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
long value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
String value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setSource(String sourceName)
Specify the name of the repository source that is to be used by this JCR repository. |
| Methods inherited from interface org.jboss.dna.repository.DnaConfiguration.Returnable |
|---|
and |
| Methods inherited from interface org.jboss.dna.repository.DnaConfiguration.Removable |
|---|
remove |
| Methods inherited from interface org.jboss.dna.repository.DnaConfiguration.SetDescription |
|---|
getDescription, setDescription |
| Method Detail |
|---|
JcrConfiguration.RepositoryDefinition<ReturnType> setSource(String sourceName)
sourceName - the name of the repository source that should be exposed by this JCR repository
IllegalArgumentException - if the source name parameter is nullString getSource()
JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
String value)
option - the option to be setvalue - the new value for the option
IllegalArgumentException - if either parameter is null
JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
boolean value)
option - the option to be setvalue - the new value for the option
IllegalArgumentException - if either parameter is null
JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
int value)
option - the option to be setvalue - the new value for the option
IllegalArgumentException - if either parameter is null
JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
long value)
option - the option to be setvalue - the new value for the option
IllegalArgumentException - if either parameter is null
JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
float value)
option - the option to be setvalue - the new value for the option
IllegalArgumentException - if either parameter is null
JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
double value)
option - the option to be setvalue - the new value for the option
IllegalArgumentException - if either parameter is nullString getOption(JcrRepository.Option option)
option - the option
IllegalArgumentException - if the option parameter is nullJcrConfiguration.RepositoryDefinition<ReturnType> addNodeTypes(String pathToCndFile)
pathToCndFile - the path to the CND file
IllegalArgumentException - if the string is null or empty
DnaConfigurationException - if there is an error reading the CND fileJcrConfiguration.RepositoryDefinition<ReturnType> addNodeTypes(File cndFile)
cndFile - the CND file
IllegalArgumentException - if the file is null
DnaConfigurationException - if there is an error reading the fileJcrConfiguration.RepositoryDefinition<ReturnType> addNodeTypes(URL urlOfCndFile)
urlOfCndFile - the URL of the CND file
IllegalArgumentException - if the URL is null
DnaConfigurationException - if there is an error reading the content at the URLJcrConfiguration.RepositoryDefinition<ReturnType> addNodeTypes(InputStream cndContent)
cndContent - the stream containing the CND content
IllegalArgumentException - if the URL is null
DnaConfigurationException - if there is an error reading the stream at the URL
JcrConfiguration.RepositoryDefinition<ReturnType> registerNamespace(String prefix,
String uri)
prefix - the namespace prefix; may not be null or empty, and must be a valid prefixuri - the uri for the namespace; may not be null or empty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||