org.apache.directory.server.core.annotations
Annotation Type CreateDS


@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface CreateDS

An anntation for the DirectoryService builder

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Optional Element Summary
 java.lang.Class<?>[] additionalInterceptors
          additional interceptors
 boolean allowAnonAccess
          flag to enable/disable anonymous access, default is false
 boolean enableAccessControl
          flag to enable/disable access control, default is false
 boolean enableChangeLog
          flag to enable/disable changelog, default is true
 java.lang.Class<?> factory
          The Factory to use to create a DirectoryService
 java.lang.String name
          The DS name
 CreatePartition[] partitions
          The list of partitions to create
 

factory

public abstract java.lang.Class<?> factory
The Factory to use to create a DirectoryService

Default:
org.apache.directory.server.core.factory.DefaultDirectoryServiceFactory.class

name

public abstract java.lang.String name
The DS name

Default:
"defaultDS"

enableAccessControl

public abstract boolean enableAccessControl
flag to enable/disable access control, default is false

Default:
false

allowAnonAccess

public abstract boolean allowAnonAccess
flag to enable/disable anonymous access, default is false

Default:
false

enableChangeLog

public abstract boolean enableChangeLog
flag to enable/disable changelog, default is true

Default:
true

partitions

public abstract CreatePartition[] partitions
The list of partitions to create

Default:
{}

additionalInterceptors

public abstract java.lang.Class<?>[] additionalInterceptors
additional interceptors

Default:
{}


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.