...
In order to use the partition in a standard installation of ApacheDS, simply add it to the server.xml configuration. Provide a "native" Spring bean like this.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<spring:beans xmlns:spring="http://xbean.apache.org/schemas/spring/1.0" xmlns:s="http://www.springframework.org/schema/beans" xmlns="http://apacheds.org/config/1.0"> ... <defaultDirectoryService ...> ... <partitions> ... <s:bean id="helloPartition" class="org.apache.directory.samples.partition.hello.HelloWorldPartition"> <s:property name="suffix" value="ou=helloWorld" /> </s:bean> </partitions> ... </defaultDirectoryService> ... |
...