|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ca.jcs.cfg.apacheds.schema.FileSystemSchemaLoader
public class FileSystemSchemaLoader
Allows a filesystem directory name can be specified, in which case it will be scanned for OpenLDAP formatted .schema files and their contents returned. This is a more dynamic alternative (but works in addition to) the scheme were schemas are built into the release via the Maven2 plug-in.
| Constructor Summary | |
|---|---|
FileSystemSchemaLoader()
Calls FileSystemSchemaLoader(null, (String)null). |
|
FileSystemSchemaLoader(String directoryName,
List fileNames)
Loads named files under the specified directory in strict order. |
|
FileSystemSchemaLoader(String directoryName,
String fileNameRegex)
Loads all files in specified directory that match the specified regex, after they have been sort alphabetically. |
|
| Method Summary | |
|---|---|
String |
getDirectoryName()
|
Collection |
loadSchemas(StartupConfiguration startupConfiguration,
Registries registries)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileSystemSchemaLoader()
FileSystemSchemaLoader(null, (String)null).
public FileSystemSchemaLoader(String directoryName,
String fileNameRegex)
directoryName - Directory to be read, if null the "./" will be used.fileNameRegex - Regular expression which file names need to match, if null
then ".*_openldap.schema" will be used.
public FileSystemSchemaLoader(String directoryName,
List fileNames)
directoryName - Directory to be read, if null the "./" will be used.fileNames - Names of files under directoryName to load, in order (a schema
file must appear before any files that are dependant on it).| Method Detail |
|---|
public String getDirectoryName()
public Collection loadSchemas(StartupConfiguration startupConfiguration,
Registries registries)
loadSchemas in interface SchemaLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||